A very light minifier Node.js module.
csso
csso
is a plugin for node-minify
It allow you to compress CSS files.
Installation
npm install @node-minify/core @node-minify/csso
Usage
const minify = require('@node-minify/core');
const csso = require('@node-minify/csso');
minify({
compressor: csso,
input: 'foo.css',
output: 'bar.css',
callback: function (err, min) {}
});
Documentation
Visit https://node-minify.2clics.net/compressors/csso.html for full documentation