AutoMin
JSON →AutoMin is a CLI tool that creates minified mirror copies of your JS, CSS, HTML, and JSON files. Version 2.0.3 is the current stable release. It leverages UglifyJS, clean-css, HTML-minifier, and jsonminify under the hood. Key differentiators include global installation, offline capability, use of uglifyjs nameCache for preserving function names across files, automatic skipping of .git and node_modules, and support for custom minifiers by editing a single file. It requires input and output directories and offers overwrite and merge options.
Resources
packageautomin ↗