Gathering detailed insights and metrics for postcss-discard-overridden
Gathering detailed insights and metrics for postcss-discard-overridden
Gathering detailed insights and metrics for postcss-discard-overridden
Gathering detailed insights and metrics for postcss-discard-overridden
cssnano-preset-default
Safe defaults for cssnano which require minimal configuration.
cssnano-preset-advanced
Advanced optimisations for cssnano; may or may not break your CSS!
postcss-discard-empty
Discard empty rules and values with PostCSS.
postcss-discard-duplicates
Discard duplicate rules in your CSS files with PostCSS.
A modular minifier, built on top of the PostCSS ecosystem.
npm install postcss-discard-overridden
Module System
Min. Node Version
Typescript Support
Node Version
NPM Version
4,797 Stars
2,536 Commits
319 Forks
49 Watching
41 Branches
109 Contributors
Updated on 26 Nov 2024
CSS (77.4%)
JavaScript (22.14%)
Nunjucks (0.46%)
Cumulative downloads
Total Downloads
Last day
-5.8%
2,174,577
Compared to previous day
Last week
2%
11,510,851
Compared to previous week
Last month
11.5%
48,401,464
Compared to previous month
Last year
-1%
538,490,355
Compared to previous year
1
3
A modular minifier, built on top of the PostCSS ecosystem.
cssnano is a modern, modular compression tool written on top of the PostCSS ecosystem, which allows us to use a lot of powerful features in order to compact CSS appropriately.
Our preset system allow you to load cssnano in a different configuration depending on your needs; the default preset performs safe transforms, whereas the advanced preset performs more aggressive transforms that are safe only when your site meets the requirements; but regardless of the preset you choose, we handle more than whitespace transforms!
Optimisations range from compressing colors & removing comments, to discarding
overridden at-rules, normalising unicode-range
descriptors, even mangling
gradient parameters for a smaller output value! In addition, where it's made
sense for a transform, we've added Browserslist
to provide different output depending on the browsers that you support.
For further details check out the website:
You can now try cssnano online!
See CONTRIBUTING.md.
This project exists thanks to all the people who contribute. [Contribute].
Thank you to all our backers! 🙏 [Become a backer]
Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]
MIT © Ben Briggs
No vulnerabilities found.
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no dangerous workflow patterns detected
Reason
16 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
license file detected
Details
Reason
no binaries found in the repo
Reason
packaging workflow detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 8
Details
Reason
3 existing vulnerabilities detected
Details
Reason
Found 3/23 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-11-25
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More