Skip to content

Repository files navigation

graceful-process

NPM versionNPM qualityNPM downloadNode.js VersionContinuous IntegrationTest coverage

graceful exit process even parent exit on SIGKILL.

Install

npm i graceful-process

Usage

Import this module and execute it on every child process file.

// mycli.tsimport{graceful}from'graceful-process';graceful({logger: console,label: 'mycli-child-cmd'});

Support

  • cluster
  • child_process.fork()
  • child_process.spawn()

Contributors

Contributors

Made with contributors-img.

About

graceful exit process even parent exit on SIGKILL.

Resources

Stars

34 stars

Watchers

12 watching

Forks

Releases

Used by

Contributors

Languages