Skip to content

Instantly share code, notes, and snippets.

@stonecobra
Created May 20, 2015 23:29
Show Gist options
  • Select an option

  • Save stonecobra/aa4cc7f6a69a0aa041f6 to your computer and use it in GitHub Desktop.

Select an option

Save stonecobra/aa4cc7f6a69a0aa041f6 to your computer and use it in GitHub Desktop.
{
"_id": "signal-exit",
"_rev": "9-6aaba3eb069771fdad1c361f70807d25",
"name": "signal-exit",
"description": "when you want to fire an event no matter how a process exits.",
"dist-tags": {
"latest": "1.3.1"
},
"versions": {
"1.0.0": {
"name": "signal-exit",
"version": "1.0.0",
"description": "when you want process.on('exit') to fire when a process is killed with a signal.",
"main": "index.js",
"scripts": {
"test": "nyc tap ./test/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/bcoe/signal-exit.git"
},
"keywords": [
"signal",
"exit"
],
"author": {
"name": "Ben Coe",
"email": "[email protected]"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/bcoe/signal-exit/issues"
},
"homepage": "https://github.com/bcoe/signal-exit",
"devDependencies": {
"chai": "^2.3.0",
"nyc": "^1.3.0",
"standard": "^3.9.0",
"tap": "^1.0.4"
},
"gitHead": "f27efb6117f139de8259dd4c36d60ffe8f187eb1",
"_id": "[email protected]",
"_shasum": "5d37a251b4b63701db283d8c22367e19541ca214",
"_from": ".",
"_npmVersion": "2.7.6",
"_nodeVersion": "1.6.2",
"_npmUser": {
"name": "bcoe",
"email": "[email protected]"
},
"dist": {
"shasum": "5d37a251b4b63701db283d8c22367e19541ca214",
"tarball": "http://sm720MacBuild02.visa.com:8080/s/signal-exit/_attachments/signal-exit-1.0.0.tgz"
},
"maintainers": [
{
"name": "bcoe",
"email": "[email protected]"
}
],
"directories": {}
},
"1.0.1": {
"name": "signal-exit",
"version": "1.0.1",
"description": "when you want process.on('exit') to fire when a process is killed with a signal.",
"main": "index.js",
"scripts": {
"test": "nyc tap ./test/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/bcoe/signal-exit.git"
},
"keywords": [
"signal",
"exit"
],
"author": {
"name": "Ben Coe",
"email": "[email protected]"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/bcoe/signal-exit/issues"
},
"homepage": "https://github.com/bcoe/signal-exit",
"devDependencies": {
"chai": "^2.3.0",
"nyc": "^1.3.0",
"standard": "^3.9.0",
"tap": "^1.0.4"
},
"gitHead": "fa46d6f1a87d46e5c35a5665d407d95db25ebae8",
"_id": "[email protected]",
"_shasum": "71b2022c08ab28e19b44067ad855914be0d4579b",
"_from": ".",
"_npmVersion": "2.7.6",
"_nodeVersion": "1.6.2",
"_npmUser": {
"name": "bcoe",
"email": "[email protected]"
},
"dist": {
"shasum": "71b2022c08ab28e19b44067ad855914be0d4579b",
"tarball": "http://sm720MacBuild02.visa.com:8080/s/signal-exit/_attachments/signal-exit-1.0.1.tgz"
},
"maintainers": [
{
"name": "bcoe",
"email": "[email protected]"
}
],
"directories": {}
},
"1.1.0": {
"name": "signal-exit",
"version": "1.1.0",
"description": "when you want process.on('exit') to fire when a process is killed with a signal.",
"main": "index.js",
"scripts": {
"test": "nyc tap ./test/*.js"
},
"repository": {
"type": "git",
"url": "https://github.com/bcoe/signal-exit.git"
},
"keywords": [
"signal",
"exit"
],
"author": {
"name": "Ben Coe",
"email": "[email protected]"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/bcoe/signal-exit/issues"
},
"homepage": "https://github.com/bcoe/signal-exit",
"devDependencies": {
"chai": "^2.3.0",
"nyc": "^1.3.0",
"standard": "^3.9.0",
"tap": "^1.0.4"
},
"gitHead": "2b1715cb2c125745f563acf4ade61e400c83517c",
"_id": "[email protected]",
"_shasum": "3a52269649dafaa0a1c4150d8e11535e0b75c834",
"_from": ".",
"_npmVersion": "2.7.6",
"_nodeVersion": "1.6.2",
"_npmUser": {
"name": "bcoe",
"email": "[email protected]"
},
"dist": {
"shasum": "3a52269649dafaa0a1c4150d8e11535e0b75c834",
"tarball": "http://sm720MacBuild02.visa.com:8080/s/signal-exit/_attachments/signal-exit-1.1.0.tgz"
},
"maintainers": [
{
"name": "bcoe",
"email": "[email protected]"
}
],
"directories": {}
},
"1.2.0": {
"name": "signal-exit",
"version": "1.2.0",
"description": "when you want process.on('exit') to fire when a process is killed with a signal.",
"main": "index.js",
"scripts": {
"test": "nyc tap ./test/*.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bcoe/signal-exit.git"
},
"keywords": [
"signal",
"exit"
],
"author": {
"name": "Ben Coe",
"email": "[email protected]"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/bcoe/signal-exit/issues"
},
"homepage": "https://github.com/bcoe/signal-exit",
"devDependencies": {
"chai": "^2.3.0",
"nyc": "^2.0.0",
"standard": "^3.9.0",
"tap": "^1.0.4"
},
"gitHead": "a75ae7fb47cb0c85c4727837a7d92f950be2df6a",
"_id": "[email protected]",
"_shasum": "5ece3781c39ed72a540b63236603b10031c2c9ba",
"_from": ".",
"_npmVersion": "2.9.0",
"_nodeVersion": "2.0.2",
"_npmUser": {
"name": "bcoe",
"email": "[email protected]"
},
"dist": {
"shasum": "5ece3781c39ed72a540b63236603b10031c2c9ba",
"tarball": "http://sm720MacBuild02.visa.com:8080/s/signal-exit/_attachments/signal-exit-1.2.0.tgz"
},
"maintainers": [
{
"name": "bcoe",
"email": "[email protected]"
}
],
"directories": {}
},
"1.3.0": {
"name": "signal-exit",
"version": "1.3.0",
"description": "when you want process.on('exit') to fire when a process is killed with a signal.",
"main": "index.js",
"scripts": {
"test": "standard && nyc tap ./test/*.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/bcoe/signal-exit.git"
},
"keywords": [
"signal",
"exit"
],
"author": {
"name": "Ben Coe",
"email": "[email protected]"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/bcoe/signal-exit/issues"
},
"homepage": "https://github.com/bcoe/signal-exit",
"devDependencies": {
"chai": "^2.3.0",
"nyc": "^2.0.4",
"standard": "^3.9.0",
"tap": "^1.0.4"
},
"gitHead": "709cad913cf8a033ed2f6ef0c942a44e21f00d5c",
"_id": "[email protected]",
"_shasum": "5e2da9bf25151c69e93092a4984cfead7eea91ae",
"_from": ".",
"_npmVersion": "2.9.0",
"_nodeVersion": "2.0.2",
"_npmUser": {
"name": "bcoe",
"email": "[email protected]"
},
"dist": {
"shasum": "5e2da9bf25151c69e93092a4984cfead7eea91ae",
"tarball": "http://sm720MacBuild02.visa.com:8080/s/signal-exit/_attachments/signal-exit-1.3.0.tgz"
},
"maintainers": [
{
"name": "bcoe",
"email": "[email protected]"
},
{
"name": "isaacs",
"email": "[email protected]"
}
],
"directories": {}
},
"1.3.1": {
"name": "signal-exit",
"version": "1.3.1",
"description": "when you want to fire an event no matter how a process exits.",
"main": "index.js",
"scripts": {
"test": "standard && nyc tap ./test/*.js",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
"repository": {
"type": "git",
"url": "https://github.com/bcoe/signal-exit.git"
},
"keywords": [
"signal",
"exit"
],
"author": {
"name": "Ben Coe",
"email": "[email protected]"
},
"license": "ISC",
"bugs": {
"url": "https://github.com/bcoe/signal-exit/issues"
},
"homepage": "https://github.com/bcoe/signal-exit",
"devDependencies": {
"chai": "^2.3.0",
"coveralls": "^2.11.2",
"nyc": "^2.0.5",
"standard": "^3.9.0",
"tap": "^1.0.4"
},
"gitHead": "cb1fbb71eb4bdc99346be59e840e1709d404efca",
"_id": "[email protected]",
"_shasum": "ed2ad7a323526c3738acf2da801716ba7e9d4e63",
"_from": ".",
"_npmVersion": "2.7.5",
"_nodeVersion": "0.10.36",
"_npmUser": {
"name": "bcoe",
"email": "[email protected]"
},
"dist": {
"shasum": "ed2ad7a323526c3738acf2da801716ba7e9d4e63",
"tarball": "http://sm720MacBuild02.visa.com:8080/s/signal-exit/_attachments/signal-exit-1.3.1.tgz"
},
"maintainers": [
{
"name": "bcoe",
"email": "[email protected]"
},
{
"name": "isaacs",
"email": "[email protected]"
}
],
"directories": {}
}
},
"readme": "# signal-exit\n\n[![Build Status](https://travis-ci.org/bcoe/signal-exit.png)](https://travis-ci.org/bcoe/signal-exit)\n[![Coverage Status](https://coveralls.io/repos/bcoe/signal-exit/badge.svg?branch=)](https://coveralls.io/r/bcoe/signal-exit?branch=)\n[![NPM version](https://img.shields.io/npm/v/signal-exit.svg)](https://www.npmjs.com/package/signal-exit)\n\nWhen you want to fire an event no matter how a process exits:\n\n* reaching the end of execution.\n* explicitly having `process.exit(code)` called.\n* having `process.kill(pid, sig)` called.\n\nUse `signal-exit`.\n\n```js\nvar onExit = require('signal-exit')\n\nonExit(function (code, signal) {\n console.log('process exited!')\n})\n```\n",
"maintainers": [
{
"name": "bcoe",
"email": "[email protected]"
},
{
"name": "isaacs",
"email": "[email protected]"
}
],
"time": {
"modified": "2015-05-20T15:48:08.812Z",
"created": "2015-05-16T06:45:54.221Z",
"1.0.0": "2015-05-16T06:45:54.221Z",
"1.0.1": "2015-05-16T07:06:50.535Z",
"1.1.0": "2015-05-16T19:20:17.735Z",
"1.2.0": "2015-05-18T01:45:01.230Z",
"1.3.0": "2015-05-19T04:50:16.726Z",
"1.3.1": "2015-05-20T15:48:08.812Z"
},
"homepage": "https://github.com/bcoe/signal-exit",
"keywords": [
"signal",
"exit"
],
"repository": {
"type": "git",
"url": "https://github.com/bcoe/signal-exit.git"
},
"author": {
"name": "Ben Coe",
"email": "[email protected]"
},
"bugs": {
"url": "https://github.com/bcoe/signal-exit/issues"
},
"license": "ISC",
"readmeFilename": "README.md",
"users": {
"lukekarrys": true,
"maxogden": true
},
"_attachments": {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment