# tbj

> Get rid of the 'Terminate batch job' prompts when running Node and NPM scripts.

Latest version **1.0.1** (published 2020-02-08) · MIT license · 0 weekly downloads

## Install

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

Provides the command `tbj`.

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.1 |
| Published | 2020-02-08 |
| First published | 2020-01-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Bailey Herbert |
| Maintainers | baileyherbert |

## Links

- npm: https://www.npmjs.com/package/tbj
- npm.io page: https://npm.io/package/tbj

## Recent versions

- 1.0.1 (latest) — 2020-02-08
- 1.0.0 — 2020-01-23

## README

This is a simple command line tool that eliminates the annoying "Terminate batch job (Y/N)?" messages when pressing Ctrl+C on npm scripts.

To use it, first install it as a developer dependency, or globally:
```bat
npm install -D tbj
```

Then, wrap any scripts in your `package.json` file with the `tbj` command. For instance:

```json
"scripts": {
    "start": "tbj nodemon dist/index.js",
    "build": "tbj node bin/build.js"
}
```

Finally, running `npm start` or `npm run <script>` will allow you to press Ctrl+C and quietly stop the program - no more annoying prompts.

The only known caveat is that the underlying process is forcefully closed, so any custom graceful shutdown procedures won't be triggered.

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