# shorthand-cli

> Combine CSS properties into shorthand version when possible.

Latest version **1.0.0** (published 2016-09-18) · MIT license · 0 weekly downloads

## Install

```sh
npm install shorthand-cli
pnpm add shorthand-cli
yarn add shorthand-cli
bun add shorthand-cli
```

Provides the command `shorthand`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2016-09-18 |
| First published | 2016-09-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.10.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Kiko Beats |
| Maintainers | kikobeats |
| Keywords | css, shorthand, properties, cli |

## Links

- npm: https://www.npmjs.com/package/shorthand-cli
- Repository: https://github.com/kikobeats/shorthand-cli
- Homepage: https://github.com/Kikobeats/shorthand-cli
- Issues: https://github.com/Kikobeats/shorthand-cli/issues
- npm.io page: https://npm.io/package/shorthand-cli

## Dependencies (4)

- [meow](https://npm.io/package/meow.md) ~3.7.0
- [shrthnd](https://npm.io/package/shrthnd.md) ~0.0.6
- [concat-stream](https://npm.io/package/concat-stream.md) ~1.5.2
- [update-notifier](https://npm.io/package/update-notifier.md) ~1.0.2

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2016-09-18

## README

# Shorthand CLI

![Last version](https://img.shields.io/github/tag/Kikobeats/shorthand-cli.svg?style=flat-square)
[![Dependency status](http://img.shields.io/david/Kikobeats/shorthand-cli.svg?style=flat-square)](https://david-dm.org/Kikobeats/shorthand-cli)
[![Dev Dependencies Status](http://img.shields.io/david/dev/Kikobeats/shorthand-cli.svg?style=flat-square)](https://david-dm.org/Kikobeats/shorthand-cli#info=devDependencies)
[![NPM Status](http://img.shields.io/npm/dm/shorthand-cli.svg?style=flat-square)](https://www.npmjs.org/package/shorthand-cli)
[![Donate](https://img.shields.io/badge/donate-paypal-blue.svg?style=flat-square)](https://paypal.me/Kikobeats)

> Combine CSS properties into shorthand version when possible.

It converts stylesheet as:

```css
body {
  background-image: url(/img/meow.jpg);
  background-position: top center;
  background-color: #ffffff;
}
```

into short mode if is possible:

```css
body {
  background: url(/img/meow.jpg) top center #fff;
}
```

## Install

```bash
npm install shorthand-cli --global
```

## Usage

```bash
$ shorthand

  Combine CSS properties into shorthand version when possible.

  Usage:
    $ shorthand [file]
    $ cat style.css | shorthand
```

## License

MIT © [Kiko Beats](http://kikobeats.com)

---
_Source: https://npm.io/package/shorthand-cli · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
