kd-minifier is a modified fork of the original minifier package (v1.0.8) for minifying CSS and JS files. It provides a CLI tool and Node.js API for minification, CSS URL resolution relative to output, and automatic @import resolution. Release cadence is unknown; the fork appears unmaintained. Compared to alternatives like UglifyJS or clean-css, it offers a simpler setup with folder-wide minification and template-based output naming.
npm install kd-minifierNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates how to use kd-minifier to minify a single JS file and a folder of files with template-based output naming.
Consider using uglify-js and clean-css directly, or switch to an active minification tool.
Use require('kd-minifier') instead.Create your own declaration file or use @ts-ignore.
Ensure all @import paths are relative to the CSS file location.
npm install kd-minifier and require('kd-minifier')Ensure require('kd-minifier') is used and the module is loaded correctly.Verify the input path is correct and the file exists.