1.0.3 • Published 4 years ago

never-exit v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

never-exit

Library to ensure your Node processes never exit by themselves.

Contents

Usage

const neverExit = require("never-exit");

/**
 * Returns a function to allow the process to exit.
 */
const exit = neverExit();

...

exit();

Developing

Install

yarn install --frozen-lockfile

Build

yarn build

Test

Unit tests:

yarn test

Integration tests (ensure assets have been built first):

yarn test:int

Lint

yarn lint

Contributing

Please check out the CONTRIBUTING docs.

Changelog

Please check out the CHANGELOG docs.