# exit-code

> `process.exitCode` behavior back-ported from io.js and Node.js 0.12+

Latest version **1.0.2** (published 2015-05-03) · ISC license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2015-05-03 |
| First published | 2015-04-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 14 |
| Author | Isaac Z. Schlueter |
| Maintainers | isaacs |

## Links

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

## Recent versions

- 1.0.2 (latest) — 2015-05-03
- 1.0.1 — 2015-04-25

## README

# exit-code

`process.exitCode` behavior back-ported from io.js and Node.js 0.12+

## USAGE

```javascript
require('exit-code')

process.exitCode = 2

// do some other stuff
// when the process exits, it'll do it with a code of 2
```

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