minimalcss
Extract the minimal CSS used in a set of URLs with puppeteer
File Explorer
Download Latest Version (.zip)- node.js.yml
- minimalcss.js
- e2e.js
- lintcheck.sh
- run.js
- tracker.js
- utils.js
- arrow.gif
- arrow.png
- css-relative-path-external.css
- css-relative-path.css
- small.jpg
- 307css.html
- 404css-ignore.css
- 404css-ignore.html
- 404css.html
- comments.css
- comments.html
- css-in-js.css
- css-in-js.html
- css-in-link-tag.html
- css-relative-path.html
- css-variables.css
- css-variables.html
- dynamic-css.css
- dynamic-css.html
- evaluate-dom-multiple-times.css
- evaluate-dom-multiple-times.html
- extra-semicolons.css
- extra-semicolons.html
- fontface-leaves.css
- fontface-leaves.html
- fontface-removes-inline.html
- fontface-removes.css
- fontface-removes.html
- form-elements.css
- form-elements.html
- get-params-in-url.css
- get-params-in-url.html
- inheritance-first.css
- inheritance-second.css
- inheritance.html
- invalid-css.css
- invalid-css.html
- jserror.html
- keyframe-leaves.css
- keyframe-leaves.html
- keyframe-removes-inline.html
- keyframe-removes.css
- keyframe-removes.html
- media-queries-print.css
- media-queries-print.html
- media-queries.css
- media-queries.html
- must-skip.css
- nested-selectors.css
- nested-selectors.html
- not-skipped.css
- pseudo-classes.css
- pseudo-classes.html
- README.md
- redirected.css
- redirected.html
- repeated-first.css
- repeated-second.css
- repeated.html
- resource-hinted-css.html
- skippable-stylesheets.html
- slowcss.html
- url-fragment.css
- url-fragment.html
- vendor-prefixes.css
- vendor-prefixes.html
- whitelist-css.css
- whitelist-css.html
- with-timeout.html
- main.test.js
- utils.test.js
- .editorconfig
- .gitignore
- .npmignore
- .prettierrc
- CHANGELOG.md
- CONTRIBUTING.md
- index.js
- LICENSE
- package.json
- README.md
- tsconfig.json
- yarn.lock
# Installation Guide
1. Get the code
git clone https://github.com/peterbe/minimalcss
Downloads the entire project code from GitHub to your computer.
cd minimalcss
Moves into the project folder you just downloaded.
2. Node.js
Easy RecommendedPrerequisites
yarn add minimalcss --dev
Type this command into your terminal and run it.
yarn global add minimalcss
Type this command into your terminal and run it.
npm install [--save-dev|--global] minimalcss
Downloads and installs the libraries listed in package.json.
yarn
Downloads and installs the libraries listed in package.json.
yarn jest
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
