https://github.com/georgiosdrivas/css-filter
NPM package that tracks unused CSS rules
https://github.com/georgiosdrivas/css-filter
Last synced: 10 months ago
JSON representation
NPM package that tracks unused CSS rules
- Host: GitHub
- URL: https://github.com/georgiosdrivas/css-filter
- Owner: GeorgiosDrivas
- Created: 2024-10-16T15:45:39.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-18T13:14:35.000Z (about 1 year ago)
- Last Synced: 2024-10-19T11:44:23.101Z (about 1 year ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@georgios-drivas/css-filter
- Size: 27.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## CSS Filter
 
An npm package that checks HTML files for unused CSS rules.
# Installation
In the command run:
- npm install @georgios-drivas/css-filter
Add this script in your package.json file:
- "css-filter": "node ./node_modules/@georgios-drivas/css-filter/index.js"
Once it is installed, run the command:
- npm run css-filter -- /path-to-your-css-file /path-to-your-html-file
The results will be posted in the command line