# exit-tool

> an exit tool with ppid-exit and timeout

Latest version **1.0.1** (published 2022-11-28) · ISC license · 0 weekly downloads

## Install

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

## 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 | 2022-11-28 |
| First published | 2022-11-28 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 2.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | fwg |
| Maintainers | adf0001 |
| Keywords | exit, tool |

## Links

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

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2022-11-28
- 1.0.0 — 2022-11-28

## README

# exit-tool
an exit tool with ppid-exit and timeout

# Install
```
npm install exit-tool
```

# Usage & Api
```javascript
var exit_tool = require("exit-tool");

console.log("NOTE: This test program and its parent process will exit, after 3 seconds ...");

/*
exit_tool( [options] ) 

options
	.killParent
		set true to kill the parent process
	.delay
		the delay milliseconds
	.exitCode
		the exit code
	.debug
		show debug message
*/
exit_tool({ killParent: true, debug: true, delay: 3000, exitCode: 0 });

```

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