# cli-stage

> CLI tool for visualizing stages

Latest version **1.0.2** (published 2022-07-19) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-07-19 |
| First published | 2022-02-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 4 |
| Unpacked size | 4.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | LIMPIX31 |
| Maintainers | limpix31 |
| Keywords | cli, terminal |

## Links

- npm: https://www.npmjs.com/package/cli-stage
- Repository: https://github.com/LIMPIX31/cli-stage
- Homepage: https://github.com/LIMPIX31/cli-stage#readme
- Issues: https://github.com/LIMPIX31/cli-stage/issues
- npm.io page: https://npm.io/package/cli-stage

## Dependencies (4)

- [chalk](https://npm.io/package/chalk.md) 4.1.2
- [figures](https://npm.io/package/figures.md) 3.2.0
- [typescript](https://npm.io/package/typescript.md) ^4.5.5
- [cli-spinner](https://npm.io/package/cli-spinner.md) ^0.2.10

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.0.2 (latest) — 2022-07-19
- 1.0.1 — 2022-02-08
- 1.0.0 — 2022-02-08

## README

# cli-stage
**Simple tool for displaying stages in the terminal**
![demo](https://i.imgur.com/wEpqxfX.gif)

## Example
```js
import { CliStage } from 'cli-stage'

const wait = timeout => new Promise(r => setTimeout(r, timeout))

;(async () => {
  const cls = new CliStage('Installing', 'Building', 'Packing')
  cls.start()
  await wait(5000)
  cls.success()
  await wait(5000)
  cls.success()
  await wait(5000)
  cls.error()
})()
```

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