A command-line tool and library for minifying CSS files, based on a JavaScript port of YUICompressor. This package is a fork of jbleuzen/node-cssmin that adds the ability to output the minified CSS to a file from the CLI. Version 0.0.5, last updated in 2016. It has no active maintenance and is largely superseded by more modern CSS minifiers like cssnano or clean-css. Works in Node.js only.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
The package only supports CommonJS require. No named export.
The package is CJS-only; named imports in ESM will fail.
Shows how to require the module, read a CSS file, minify it, and write the result to a new file.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.