node-minify

A very light minifier Node.js module.

Features

It allow you to compress JavaScript, CSS and HTML files.

JavaScript:

CSS:

HTML:

Command Line Interface:

  • CLI 🎉 new in version 3

CSS benchmark: http://goalsmashers.github.io/css-minification-benchmark/

TIP

I recommend to execute it at boot time for production use.

Windows support

Since v0.5.0, a windows support is available for the no-compress option and uglify-js (thanks to pieces029 and benpusherhq)

License

MIT