A port of Barry van Oudtshoorn's CSSMin Java project to JavaScript, version 1.0.2. It minimises CSS files while optimising for gzip compression by alphabetically sorting properties and normalising values, leading to smaller gzipped payloads compared to typical minifiers. The package is stable but minimal, with no recent updates and limited community support. It differentiates by focusing on gzip-aware compression rather than raw reduction.
npm install cssgzminNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates minifying CSS input string using the minify function, highlighting property reordering and value shortening.
Upgrade Node.js to version 6 or later.
Create a custom .d.ts file or use @ts-ignore.
Consider alternatives like csso or clean-css which are actively maintained.
Use const { minify } = require('cssgzmin');Run npm install --save cssgzmin
Upgrade Node.js to version 6 or greater.
No dependency data recorded yet.