@jjcapellan/css-minifier

0.1.0 • Public • Published

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)}"

Readme

Keywords

Package Sidebar

Install

npm i @jjcapellan/css-minifier

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

3.42 kB

Total Files

6

Last publish

Collaborators

  • jjcapellan