Minify - a minifier of js, css, html and img files.
To use minify
as middleware try Mollify.
npm i minify --save
minify('client.js', function(error, data) {
if (error)
console.error(error.message);
else
console.log(data);
});
MIT