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