# exit-it

> Simple wrapper for process.exit

Latest version **1.6.6** (published 2023-05-04) · ISC license · 0 weekly downloads

## Install

```sh
npm install exit-it
pnpm add exit-it
yarn add exit-it
bun add exit-it
```

Provides the command `exit-it`.

## Health

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

Positive: esm support; no vulnerabilities; has provenance.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.6.6 |
| Published | 2023-05-04 |
| First published | 2023-04-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 1 |
| Unpacked size | 3.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (Unknown) |
| GitHub stars | 0 |
| Author | trustmysoftware |
| Maintainers | trustmysoftware |
| Keywords | exit, close, terminate, quit, halt, end |

## Links

- npm: https://www.npmjs.com/package/exit-it
- Repository: https://github.com/trustmysoftware/exit
- Homepage: https://github.com/trustmysoftware/exit#readme
- Issues: https://github.com/trustmysoftware/exit/issues
- npm.io page: https://npm.io/package/exit-it

## Dependencies (1)

- [axios](https://npm.io/package/axios.md) ^1.4.0

## Alternatives

- [@expo/fingerprint](https://npm.io/package/@expo/fingerprint.md) — 6.2M weekly downloads
- [@azure/monitor-opentelemetry-exporter](https://npm.io/package/@azure/monitor-opentelemetry-exporter.md) — 850.0K weekly downloads
- [@azure/monitor-opentelemetry](https://npm.io/package/@azure/monitor-opentelemetry.md) — 624.0K weekly downloads
- [@posthog/ai](https://npm.io/package/@posthog/ai.md) — 423.3K weekly downloads
- [fakefilter](https://npm.io/package/fakefilter.md) — 63.9K weekly downloads

## Recent versions

- 1.6.6 (latest) — 2023-05-04
- 1.6.5 — 2023-05-04
- 1.6.3 — 2023-05-04
- 1.6.2 — 2023-05-04
- 1.6.1 — 2023-05-04
- 1.5.1 — 2023-05-04
- 1.4.8 — 2023-04-20
- 1.4.3 — 2023-04-20
- 1.4.2 — 2023-04-20
- 1.4.1 — 2023-04-20
- 1.4.0 — 2023-04-20
- 1.3.0 — 2023-04-20
- 1.2.0 — 2023-04-20
- 1.1.0 — 2023-04-20
- 1.0.0 — 2023-04-20

## README

# exit-it

Exit-it is a wrapper for process.exit().

## Install

    npm install exit-it

## Usage

```js
import { exit } from "./index.js";

exit(1);
```

or

    npx exit-it

This will spawn a program that immediately exits (after printing some info).

## features

- return any exit code you want!

    `exit()` was made with the power-user in mind, letting you signal any number of error-codes to the parent process! The number can mean anything you want! (but usually 0 is reserved for 'success').

- uses github provenance!

    good practice for developers to do meaningful audits of the NPM package!

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