A tiny (~200B) CSS minifier for modern JavaScript environments, version 1.0.1. It is designed as an ES6 module for bundlers like Rollup and browser usage, offering minimal overhead for simple CSS minification. Compared to larger minifiers like clean-css or csso, it prioritizes size and simplicity over advanced optimizations. The package is stable but rarely updated, with no recent releases.
npm install minifycssNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates basic usage of minifyCSS to minify a CSS string by removing whitespace and comments.
Add a type declaration file: declare module 'minifycss';
Use a more robust minifier like clean-css for production CSS.
Use import syntax or set "type": "module" in package.json.
Use default import: import minifyCSS from 'minifycss';
No dependency data recorded yet.