# @types/exit

> TypeScript definitions for exit

Latest version **0.1.33** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/exit
pnpm add @types/exit
yarn add @types/exit
bun add @types/exit
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.33 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/exit
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/exit
- npm.io page: https://npm.io/package/@types/exit

## Dependencies (1)

- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 0.1.33 (latest) — 2023-11-07
- 0.1.31 (ts2.8) — 2020-03-20
- 0.1.30 (ts2.0) — 2016-09-19
- 0.1.32 — 2023-10-18
- 0.1.29 — 2016-07-14
- 0.1.28-alpha — 2016-07-08
- 0.1.27-alpha — 2016-07-04
- 0.1.26-alpha — 2016-07-02
- 0.1.25-alpha — 2016-07-01
- 0.1.24-alpha — 2016-07-01
- 0.1.23-alpha — 2016-05-25
- 0.1.22-alpha — 2016-05-20
- 0.1.17-alpha — 2016-05-19
- 0.1.16-alpha — 2016-05-17

## README

# Installation
> `npm install --save @types/exit`

# Summary
This package contains type definitions for exit (https://github.com/cowboy/node-exit).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/exit.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/exit/index.d.ts)
````ts
/// <reference types="node" />

/**
 * A replacement for process.exit that ensures stdio are fully drained before exiting.
 */
declare function exit(code: number, streams?: [NodeJS.WritableStream, NodeJS.WritableStream]): void;

export = exit;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: [@types/node](https://npmjs.com/package/@types/node)

# Credits
These definitions were written by [Bart van der Schoor](https://github.com/Bartvds).

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