never-exit

1.0.3 • Public • Published

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.

Package Sidebar

Install

npm i never-exit

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

245 kB

Total Files

8

Last publish

Collaborators

  • asos-craigmorten