extract-css icon indicating copy to clipboard operation
extract-css copied to clipboard

Extract all CSS from a webpage, packaged as a Now V2 Lambda

Extract CSS

Get all the CSS from a webpage.

The problem

The folks from CSS Stats have created get-css, a package to get all the CSS from a given webpage. One downside, however, is that it only works for server side rendered applications.

The solution

This package uses an actual browser under the hood to get all the CSS and exposes an HTTP endpoint that accepts a url to get the CSS from. Read all about it in this blog post on ProjectWallace.com.

Credits