# @putout/plugin-remove-process-exit

> putout plugin adds ability to find and remove process.exit

Latest version **3.0.2** (published 2022-01-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install @putout/plugin-remove-process-exit
pnpm add @putout/plugin-remove-process-exit
yarn add @putout/plugin-remove-process-exit
bun add @putout/plugin-remove-process-exit
```

## Health

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

Positive: no vulnerabilities; high maintenance score.

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

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.0.2 |
| Published | 2022-01-12 |
| First published | 2019-01-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=8.3.0 |
| Dependencies | 0 |
| Unpacked size | 3.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 795 |
| Author | coderaiser |
| Maintainers | coderaiser |
| Keywords | putout, putout-plugin, plugin, process, exit |

## Links

- npm: https://www.npmjs.com/package/@putout/plugin-remove-process-exit
- Repository: https://github.com/coderaiser/putout
- Homepage: https://github.com/coderaiser/putout/tree/v24.0.0/packages/plugin-nodejs#readme
- Issues: https://github.com/coderaiser/putout/issues
- npm.io page: https://npm.io/package/@putout/plugin-remove-process-exit

## Recent versions

- 3.0.2 (latest) — 2022-01-12
- 3.0.1 — 2022-01-12
- 3.0.0 — 2019-11-03
- 2.0.0 — 2019-09-12
- 1.2.0 — 2019-06-19
- 1.1.1 — 2019-06-17
- 1.1.0 — 2019-06-14
- 1.0.3 — 2019-01-13
- 1.0.2 — 2019-01-11
- 1.0.1 — 2019-01-07
- 1.0.0 — 2019-01-06

## README

# @putout/plugin-remove-process-exit [![NPM version][NPMIMGURL]][NPMURL]

[NPMIMGURL]: https://img.shields.io/npm/v/@putout/plugin-remove-process-exit.svg?style=flat&longCache=true
[NPMURL]: https://npmjs.org/package/@putout/plugin-remove-process-exit"npm"

🐊[`Putout`](https://github.com/coderaiser/putout) plugin adds ability to find and remove `process.exit` calls. Moved to [`@putout/plugin-nodejs`](https://github.com/coderaiser/putout/tree/v24.0.0/packages/plugin-nodejs#readme).

## Install

```
npm i @putout/plugin-remove-process-exit
```

## Rule

Rule `remove-process-exit` is disabled by default, to enable add to `.putout.json`:

```json
{
    "rules": {
        "remove-process-exit": "on"
    }
}
```

## Code Example

```js
const {readFileSync} = require('fs');
const source = readFileSync('./1.js', 'utf8');

const putout = require('putout');

console.log(source);
// outputs
`
process.exit();
`;

const result = putout(source, {
    plugins: [
        'remove-process-exit',
    ],
});
// returns
'';
```

## License

MIT

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