https://github.com/jokroese/strip-unused-css
Download CSS files with all unused code removed.
https://github.com/jokroese/strip-unused-css
css downloader minification minify speed webscraping website website-development
Last synced: 3 months ago
JSON representation
Download CSS files with all unused code removed.
- Host: GitHub
- URL: https://github.com/jokroese/strip-unused-css
- Owner: jokroese
- License: mit
- Created: 2020-11-03T17:45:41.000Z (almost 6 years ago)
- Default Branch: main
- Last Pushed: 2020-11-04T13:42:53.000Z (almost 6 years ago)
- Last Synced: 2025-01-15T00:36:13.868Z (over 1 year ago)
- Topics: css, downloader, minification, minify, speed, webscraping, website, website-development
- Language: JavaScript
- Homepage:
- Size: 7.81 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Strip Unused CSS
Identifies all unused CSS in a website and downloads the reduced CSS files with only used CSS code in.
## Quickstart
1. Clone or download this repository
1. At `./strip-unused-css` run `npm i puppeteer --save`
1. Run `node csscoverage.js https://jokroese.com`
## Reference
From the answer given [here](https://stackoverflow.com/questions/45106841/chrome-devtools-coverage-how-to-save-or-capture-code-used-code).