graceful-process
graceful exit process even parent exit on SIGKILL.
Last updated 9 years ago by fengmk2 .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install graceful-process 
SYNC missed versions from official npm registry.

graceful-process

graceful exit process even parent exit on SIGKILL.

NPM version build status Test coverage David deps Known Vulnerabilities NPM download

Install

npm i graceful-process --save

Usage

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

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

Support

  • [x] cluster
  • [x] child_process.fork()
  • [ ] child_process.spawn()

Current Tags

  • 2.2.0                                ...           latest (2 years ago)
  • 1.3.0                                ...           release-1.x (2 years ago)

7 Versions

  • 2.2.0                                ...           2 years ago
  • 1.3.0                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.0                                ...           2 years ago
  • 1.2.0                                ...           9 years ago
  • 1.1.0                                ...           9 years ago
  • 1.0.0                                ...           9 years ago
Maintainers (1)
Downloads
Total 18
Today 0
This Week 0
This Month 9
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (9)
Dependents (2)

© 2010 - cnpmjs.org x YWFE | Home | YWFE