# @gaiama/cuid-cli

> cli to generate cuid's

Latest version **1.0.12** (published 2019-09-19) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install @gaiama/cuid-cli
pnpm add @gaiama/cuid-cli
yarn add @gaiama/cuid-cli
bun add @gaiama/cuid-cli
```

Provides the command `cuid`.

## Health

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

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 1.0.12 |
| Published | 2019-09-19 |
| First published | 2018-03-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 7.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 7 |
| Author | Can Rau |
| Maintainers | canrau |
| Keywords | cuid, id generator, unique id, cli, uuid, collision resistance |

## Links

- npm: https://www.npmjs.com/package/@gaiama/cuid-cli
- Repository: https://github.com/GaiAma/cuid-cli
- Homepage: https://github.com/GaiAma/cuid-cli#readme
- Issues: https://github.com/GaiAma/cuid-cli/issues
- npm.io page: https://npm.io/package/@gaiama/cuid-cli

## Dependencies (3)

- [cuid](https://npm.io/package/cuid.md) ^2.1.6
- [yargs](https://npm.io/package/yargs.md) ^14.0.0
- [console-clear](https://npm.io/package/console-clear.md) ^1.1.1

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 1.0.12 (latest) — 2019-09-19
- 1.0.11 — 2018-09-29
- 1.0.10 — 2018-09-29
- 1.0.9 — 2018-09-29
- 1.0.8 — 2018-07-19
- 1.0.7 — 2018-07-19
- 1.0.5 — 2018-03-18
- 1.0.4 — 2018-03-18
- 1.0.3 — 2018-03-18
- 1.0.2 — 2018-03-18

## README

# cuid CLI  
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors)
[![npm (scoped)](https://img.shields.io/npm/v/@gaiama/cuid-cli.svg)](https://www.npmjs.com/package/@gaiama/cuid-cli)

this is a cli wrapper for Eric Elliot's [cuid script](https://github.com/ericelliott/cuid)

## Install

````
$ yarn global add @gaiama/cuid-cli
or
$ npm -g install @gaiama/cuid-cli
````

## Usage

````
cuid --help
Usage: cuid [times] [options]

Options:
  --version, -V  Show version number             [boolean]
  -t, --times    Specify number of ids
  -c, --clear    Clear console before output     [boolean]
  -s, --slug     cuid().slug                     [boolean]
  -h, --help     Show help                       [boolean]

Examples:
  cuid          prints 1 id
  cuid 5        prints 5 ids
  cuid 5 -s     prints 5 short id
  cuid -s 5     same as above (5 short id)
  cuid -cst 10  clears the terminal & prints 10 short ids
  cuid -cs 10   same as above
  cuid 10 -cs   same as above

Get more info about cuids https://usecuid.org
````

## Related
- [cuid](https://github.com/ericelliott/cuid)

## Contributors

Thanks goes to these wonderful people ([emoji key](https://github.com/kentcdodds/all-contributors#emoji-key)):

<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
<!-- prettier-ignore -->
| [<img src="https://avatars0.githubusercontent.com/u/5196971?v=4" width="100px;"/><br /><sub><b>Can</b></sub>](https://www.GaiAma.org)<br />[💬](#question-CanRau "Answering Questions") [🐛](https://github.com/GaiAma/cuid-cli/issues?q=author%3ACanRau "Bug reports") [💻](https://github.com/GaiAma/cuid-cli/commits?author=CanRau "Code") [📖](https://github.com/GaiAma/cuid-cli/commits?author=CanRau "Documentation") [👀](#review-CanRau "Reviewed Pull Requests") | [<img src="https://avatars3.githubusercontent.com/u/79246?v=4" width="100px;"/><br /><sub><b>Stefan Ladwig</b></sub>](https://github.com/sladwig)<br />[📖](https://github.com/GaiAma/cuid-cli/commits?author=sladwig "Documentation") |
| :---: | :---: |
<!-- ALL-CONTRIBUTORS-LIST:END -->
This project follows the [all-contributors](https://github.com/kentcdodds/all-contributors) specification. Contributions of any kind are welcome!

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