node package manager

minify

Minifier of js, css, html and img

Minify License Dependency Status Build Status NPM version

Minify - a minifier of js, css, html and img files. To use minify as middleware try Mollify.

Install

npm i minify --save

How to use?

minify('client.js', function(error, data) {
    if (error)
        console.error(error.message);
    else
        console.log(data);
});

License

MIT