# node-cli

> 🖍️ Build a beautiful Node.js CLI with colors, pre-build elements and optional JSX support.

Latest version **0.2.5** (published 2021-05-27) · MIT license · 0 weekly downloads

## Install

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

Provides the command `node-cli-examples`.

## Health

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

Positive: has types; no vulnerabilities; high quality score.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.5 |
| Published | 2021-05-27 |
| First published | 2013-01-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 64.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 12 |
| Author | Yannick Deubel |
| Maintainers | yandeu |
| Keywords | node, cli, terminal, jsx |

## Links

- npm: https://www.npmjs.com/package/node-cli
- Repository: https://github.com/yandeu/node-cli
- Homepage: https://github.com/yandeu/node-cli#readme
- Issues: https://github.com/yandeu/node-cli/issues
- Funding: https://github.com/sponsors/yandeu
- npm.io page: https://npm.io/package/node-cli

## 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

- 0.2.5 (latest) — 2021-05-27
- 0.2.4 — 2021-05-16
- 0.2.3 — 2021-03-30
- 0.2.2 — 2021-03-16
- 0.2.1 — 2021-03-16
- 0.2.0 — 2021-03-16
- 0.1.0 — 2013-06-28
- 0.0.11 — 2013-01-31
- 0.0.1 — 2013-01-24

## README

# Node CLI

🖍️ Build a beautiful Node.js CLI with colors, pre-build elements and optional JSX support.

## Documentation

_Documentation will be available shortly._

## Examples

Have a look at some great examples!

```bash
$ npx node-cli@latest --examples
# https://github.com/yandeu/node-cli/blob/main/src/examples/index.tsx
```

<!-- ```tsx
// write a line (gets back the number of lines written)
write()

// clears the terminal
await clearDisplay()

// remove all lines except the first two
await clear(-2)

// remove all lines
await clear() // same as clear(0)

// remove last two lines
await clear(2)

// hide cursor
hideCursor()

// show cursor
showCursor()
``` -->

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