$ npm install graceful-process
graceful exit process even parent exit on SIGKILL.
npm i graceful-process
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' });
Made with contributors-img.
© 2010 - cnpmjs.org x YWFE | Home | YWFE