shorthand-cli

1.0.0 • Public • Published

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

Package Sidebar

Install

npm i shorthand-cli

Weekly Downloads

1

Version

1.0.0

License

MIT

Last publish

Collaborators

  • kikobeats