# process-bootstrap

> Node.js module to help you bootstrap your `process`

Latest version **1.0.0** (published 2016-06-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install process-bootstrap
pnpm add process-bootstrap
yarn add process-bootstrap
bun add process-bootstrap
```

## 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.0 |
| Published | 2016-06-20 |
| First published | 2016-06-20 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | steelbrain |
| Maintainers | steelbrain |
| Keywords | process |

## Links

- npm: https://www.npmjs.com/package/process-bootstrap
- Repository: https://github.com/steelbrain/process-bootstrap
- Homepage: https://github.com/steelbrain/process-bootstrap#readme
- Issues: https://github.com/steelbrain/process-bootstrap/issues
- npm.io page: https://npm.io/package/process-bootstrap

## Recent versions

- 1.0.0 (latest) — 2016-06-20

## README

# process-bootstrap

process-bootstrap is a Node.js module that does some basic process setup for you.

### Installation

```
npm install --save process-bootstrap
```

### API

```js
export default function bootstrap(processName: string, defaultDebugKey?: string)
```

### Example Usage
```js
import bootstrap from 'process-bootstrap'

bootstrap('motion', 'MOTION')
// Yep, that's all folks
```

### Features

- Sets `process.title` so the process doesn't get killed by `killall node` and can be searched like `pidof motion`
- Listens on `unhandledRejection` and `uncaughtException` events
- Sets default debugging key to be used by [`debug`](https://www.npmjs.com/package/debug) module

### License

This project is licensed under the terms of MIT License. See the LICENSE file for more info.

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