# tun-runner

> Interactive script runner.

Latest version **0.2.2** (published 2024-05-19) · ISC license · 0 weekly downloads

## Install

```sh
npm install tun-runner
pnpm add tun-runner
yarn add tun-runner
bun add tun-runner
```

Provides the command `tun`.

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.2 |
| Published | 2024-05-19 |
| First published | 2023-08-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Donk |
| Maintainers | daniel_knights |
| Keywords | cli, script, runner, utility |

## Links

- npm: https://www.npmjs.com/package/tun-runner
- Repository: https://github.com/Daniel-Knights/tun
- Homepage: https://github.com/Daniel-Knights/tun#readme
- Issues: https://github.com/Daniel-Knights/tun/issues
- npm.io page: https://npm.io/package/tun-runner

## Dependencies (1)

- [prompts](https://npm.io/package/prompts.md) ^2.4.2

## 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.2 (latest) — 2024-05-19
- 0.2.1 — 2023-08-31
- 0.2.0 — 2023-08-31
- 0.1.0 — 2023-08-29
- 0.0.3 — 2023-08-27
- 0.0.2 — 2023-08-27
- 0.0.1 — 2023-08-26

## README

# tun-runner

Interactive script runner.

## Usage

```bash
npm i -g tun-runner
```

```json
{
  "scripts": {
    "dev:mod1": "echo mod1",
    "dev:mod2": "echo mod2",
    "dev:mod3": "echo mod3"
  }
}
```

```bash
tun dev
```

Output:

```
? Select script » - Use arrow-keys. Return to submit.
>   dev:mod1
    dev:mod2
    dev:mod3
```

`tun d` would result in the same, as it simply matches all scripts that start with the provided input.

## Notes

- Omitting input provides all scripts as options.
- Exact matches are run without selection.
- Selecting a script that also calls `tun` will throw an error.

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