graceful-process
graceful exit process even parent exit on SIGKILL.
Last updated 2 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

NPM version NPM quality NPM download Node.js Version Continuous Integration Test 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.ts
import { graceful } from 'graceful-process';

graceful({ logger: console, label: 'mycli-child-cmd' });

Support

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

Contributors

Contributors

Made with contributors-img.

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
Downloads
Total 18
Today 0
This Week 0
This Month 9
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dependents (2)

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