{
  "_from": "exit-hook@>=1.0.0 <2.0.0",
  "_id": "exit-hook@1.1.1",
  "_location": "/bower/inquirer/cli-cursor/restore-cursor/exit-hook",
  "_phantomChildren": {},
  "_requiredBy": [
    "/bower/inquirer/cli-cursor/restore-cursor"
  ],
  "_resolved": "https://registry.npmjs.org/exit-hook/-/exit-hook-1.1.1.tgz",
  "_shasum": "f05ca233b48c05d54fff07765df8507e95c02ff8",
  "_shrinkwrap": null,
  "author": {
    "email": "sindresorhus@gmail.com",
    "name": "Sindre Sorhus",
    "url": "http://sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/exit-hook/issues"
  },
  "dependencies": {},
  "description": "Run some code when the process exits",
  "devDependencies": {
    "ava": "0.0.4"
  },
  "engines": {
    "node": ">=0.10.0"
  },
  "files": [
    "index.js"
  ],
  "homepage": "https://github.com/sindresorhus/exit-hook#readme",
  "keywords": [
    "event",
    "exit",
    "graceful",
    "handler",
    "hook",
    "kill",
    "process",
    "quit",
    "shutdown",
    "sigint",
    "sigterm",
    "stop",
    "terminate"
  ],
  "license": "MIT",
  "name": "exit-hook",
  "optionalDependencies": {},
  "readme": "# exit-hook [![Build Status](https://travis-ci.org/sindresorhus/exit-hook.svg?branch=master)](https://travis-ci.org/sindresorhus/exit-hook)\n\n> Run some code when the process exits\n\nThe `process.on('exit')` event doesn't catch all the ways a process can exit.\n\nUseful for cleaning up.\n\n\n## Install\n\n```sh\n$ npm install --save exit-hook\n```\n\n\n## Usage\n\n```js\nvar exitHook = require('exit-hook');\n\nexitHook(function () {\n\tconsole.log('exiting');\n});\n\n// you can add multiple hooks, even across files\nexitHook(function () {\n\tconsole.log('exiting 2');\n});\n\nthrow new Error('unicorns');\n\n//=> exiting\n//=> exiting 2\n```\n\n\n## License\n\nMIT © [Sindre Sorhus](http://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/exit-hook.git"
  },
  "scripts": {
    "test": "node test.js"
  },
  "version": "1.1.1"
}
