1.0.0 • Published 8 years ago

shorthand-cli v1.0.0

Weekly downloads
4
License
MIT
Repository
github
Last release
8 years ago

Shorthand CLI

Last version Dependency status Dev Dependencies Status NPM Status Donate

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