# pc__create_short_names

> This is plugin for nmp-package "Post-Compression". He is creates the short names instead of long.

Latest version **0.0.1** (published 2016-01-10) · 0 weekly downloads

## Install

```sh
npm install pc__create_short_names
pnpm add pc__create_short_names
yarn add pc__create_short_names
bun add pc__create_short_names
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-01-10 |
| First published | 2016-01-10 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Alexey Bakhirev |
| Maintainers | bakhirev |
| Keywords | plugin, post compression, gulp, grunt, build, minify, optimization, js, css, html, javascript, html5, uglifyjs, uglifycss, google compiler |

## Links

- npm: https://www.npmjs.com/package/pc__create_short_names
- Repository: https://github.com/bakhirev/pc__create_short_names
- Homepage: https://github.com/bakhirev/pc__create_short_names#readme
- Issues: https://github.com/bakhirev/pc__create_short_names/issues
- npm.io page: https://npm.io/package/pc__create_short_names

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.0.1 (latest) — 2016-01-10

## README

Creates the short names instead of long
========================

This is plugin for nmp-package "[Post-Compression](https://github.com/bakhirev/post_compression)".  
He is creates the short names instead of long.

#### An example of using: ####
```js
var createShortNames = require("pc__create_short_names");

shortNames = postCompression.build([
    createShortNames()
], uniqueNames);
```

#### Example of "uniqueNames": ####
```json
{
    "class_in_html": {
        "some_class__a": 3,
        "some_class__b": 23
    }
}
```

Where the number means the number of repetitions. The more repetitions, the more priority to get the short name.

#### Example of "shortNames": ####
```json
{
    "class_in_html": {
        "some_class__a": "Bw",
        "some_class__b": "a"
    }
}
```

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