@jjcapellan/css-minifier
v0.1.0
Published
Light and simple css minifier
Downloads
3
Readme
CSS MINIFIER
Light and simple css minifier with no dependencies. It can be used in Node and browser.
Install
npm i @jjcapellan/css-minifier
How to use
import { minify } from '@jjcapellan/css-minifier';
const css = `
.container {
transition: 1s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}`;
const minCss = minify(css);
console.log(minCss); // ".container{transition:1s cubic-bezier(.68,-.55,.265,1.55)}"