never-exit
v1.0.3
Published
Prevent an idle Node process from exiting.
Downloads
2
Maintainers
Readme
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.