{"name":"graceful-process","version":"1.2.0","description":"graceful exit process even parent exit on SIGKILL.","files":["index.js","exit.js"],"scripts":{"lint":"eslint *.js test","test":"npm run lint && npm run test-local","test-local":"egg-bin test","cov":"cross-env COV=true egg-bin cov","autod":"autod","pkgfiles":"egg-bin pkgfiles","ci":"npm run lint && npm run cov"},"repository":{"type":"git","url":"git+ssh://git@github.com/node-modules/graceful-process.git"},"bug":{"url":"https://github.com/node-modules/graceful-process/issues"},"author":{"name":"fengmk2"},"license":"MIT","dependencies":{"is-type-of":"^1.2.0","once":"^1.4.0"},"devDependencies":{"autod":"^3.0.1","coffee":"^4.1.0","cross-env":"^5.0.1","egg-bin":"^4.3.7","egg-ci":"^1.8.0","eslint":"^4.18.1","eslint-config-egg":"^7.0.0","mm":"^2.2.0","mz-modules":"^2.1.0","urllib":"^2.26.0"},"ci":{"version":"6, 8, 9"},"gitHead":"fcc6c873174f8475786a614e211343917f5be0ed","bugs":{"url":"https://github.com/node-modules/graceful-process/issues"},"homepage":"https://github.com/node-modules/graceful-process#readme","_id":"graceful-process@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.4.0","_npmUser":{"name":"popomore","email":"sakura9515@gmail.com"},"dist":{"integrity":"sha512-sH5WMY74gxObrKf+5SaqyI1sYv4AF1W5odeW+rA+kHuvKEiqaRgVIUKV2O/CT1NQr6zIhgbtEGOgJORjEHEcdw==","shasum":"5b2bd6eda3b59777db6a8a9332e79e6246086d85","tarball":"http://registry-npm.ywwl.com/graceful-process/download/graceful-process-1.2.0.tgz","fileCount":5,"unpackedSize":6402,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBXeaMK3/224R/eCxlDeQUdBZCtx52z9lQWaUx4vCRzDAiEA74JFTADKOtjDZHCR/OUXlBIf78FpWOfVxjBLuSSl5Wk="}],"size":2528,"noattachment":false,"key":"/graceful-process/-/graceful-process-1.2.0.tgz"},"maintainers":[{"email":"dead_horse@qq.com","name":"dead-horse"},{"email":"fengmk2@gmail.com","name":"fengmk2"},{"email":"sakura9515@gmail.com","name":"popomore"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/graceful-process_1.2.0_1519975384615_0.7735691839197387"},"_hasShrinkwrap":false,"readme":"# graceful-process\n\ngraceful exit process even parent exit on SIGKILL.\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![Test coverage][codecov-image]][codecov-url]\n[![David deps][david-image]][david-url]\n[![Known Vulnerabilities][snyk-image]][snyk-url]\n[![NPM download][download-image]][download-url]\n\n[npm-image]: https://img.shields.io/npm/v/graceful-process.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/graceful-process\n[travis-image]: https://img.shields.io/travis/node-modules/graceful-process.svg?style=flat-square\n[travis-url]: https://travis-ci.org/node-modules/graceful-process\n[codecov-image]: https://codecov.io/gh/node-modules/graceful-process/branch/master/graph/badge.svg\n[codecov-url]: https://codecov.io/gh/node-modules/graceful-process\n[david-image]: https://img.shields.io/david/node-modules/graceful-process.svg?style=flat-square\n[david-url]: https://david-dm.org/{{org}}/graceful-process\n[snyk-image]: https://snyk.io/test/npm/graceful-process/badge.svg?style=flat-square\n[snyk-url]: https://snyk.io/test/npm/graceful-process\n[download-image]: https://img.shields.io/npm/dm/graceful-process.svg?style=flat-square\n[download-url]: https://npmjs.org/package/graceful-process\n\n## Install\n\n```bash\nnpm i graceful-process --save\n```\n\n## Usage\n\nRequire this module and execute it on every child process file.\n\n```js\n// mycli.js\nrequire('graceful-process')({ logger: console, label: 'mycli-child-cmd' });\n```\n\n## Support\n\n- [x] cluster\n- [x] child_process.fork()\n- [ ] child_process.spawn()\n","publish_time":1519975384667,"_cnpm_publish_time":1519975384667,"dist-tags":{"latest":"2.2.0","release-1.x":"1.3.0"}}