shorthand-cli
v1.0.0
Published
Combine CSS properties into shorthand version when possible.
Downloads
2
Readme
Shorthand CLI
Combine CSS properties into shorthand version when possible.
It converts stylesheet as:
body {
background-image: url(/img/meow.jpg);
background-position: top center;
background-color: #ffffff;
}
into short mode if is possible:
body {
background: url(/img/meow.jpg) top center #fff;
}
Install
npm install shorthand-cli --global
Usage
$ shorthand
Combine CSS properties into shorthand version when possible.
Usage:
$ shorthand [file]
$ cat style.css | shorthand
License
MIT © Kiko Beats