{
  "_args": [
    [
      "loud-rejection@https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.2.0.tgz",
      "/Users/nw/flint/packages/flint"
    ]
  ],
  "_from": "loud-rejection@>=1.0.0 <2.0.0",
  "_id": "loud-rejection@1.2.0",
  "_inCache": true,
  "_location": "/loud-rejection",
  "_phantomChildren": {},
  "_requested": {
    "name": "loud-rejection",
    "raw": "loud-rejection@https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.2.0.tgz",
    "rawSpec": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.2.0.tgz",
    "scope": null,
    "spec": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.2.0.tgz",
    "type": "remote"
  },
  "_requiredBy": [
    "/meow"
  ],
  "_resolved": "https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.2.0.tgz",
  "_shasum": "f4f87db6abec3b7fe47834531ecf6a011143e58d",
  "_shrinkwrap": null,
  "_spec": "loud-rejection@https://registry.npmjs.org/loud-rejection/-/loud-rejection-1.2.0.tgz",
  "_where": "/Users/nw/flint/packages/flint",
  "author": {
    "email": "sindresorhus@gmail.com",
    "name": "Sindre Sorhus",
    "url": "sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/loud-rejection/issues"
  },
  "config": {
    "nyc": {
      "exclude": [
        "fixture.js",
        "node_modules",
        "test.js"
      ]
    }
  },
  "dependencies": {
    "signal-exit": "^2.1.2"
  },
  "description": "Make unhandled promise rejections fail loudly instead of the default silent fail",
  "devDependencies": {
    "ava": "*",
    "bluebird": "^3.0.5",
    "coveralls": "^2.11.4",
    "delay": "^1.0.0",
    "get-stream": "^1.0.0",
    "nyc": "^3.2.2",
    "xo": "*"
  },
  "engines": {
    "node": ">=0.10.0"
  },
  "files": [
    "api.js",
    "index.js",
    "register.js"
  ],
  "homepage": "https://github.com/sindresorhus/loud-rejection#readme",
  "keywords": [
    "catch",
    "debug",
    "debugging",
    "exit",
    "fail",
    "handler",
    "loud",
    "promise",
    "promises",
    "rejection",
    "throw",
    "uncaught",
    "unhandled",
    "verbose"
  ],
  "license": "MIT",
  "name": "loud-rejection",
  "optionalDependencies": {},
  "readme": "# loud-rejection [![Build Status](https://travis-ci.org/sindresorhus/loud-rejection.svg?branch=master)](https://travis-ci.org/sindresorhus/loud-rejection) [![Coverage Status](https://coveralls.io/repos/sindresorhus/loud-rejection/badge.svg?branch=master&service=github)](https://coveralls.io/github/sindresorhus/loud-rejection?branch=master)\n\n> Make unhandled promise rejections fail loudly instead of the default [silent fail](https://gist.github.com/benjamingr/0237932cee84712951a2)\n\nBy default, promises fail silently if you don't attach a `.catch()` handler to them.\n\nUse it in top-level things like tests, CLI tools, apps, etc, **but not in reusable modules.**\n\n\n## Install\n\n```\n$ npm install --save loud-rejection\n```\n\n\n## Usage\n\n```js\nconst loudRejection = require('loud-rejection');\nconst promiseFn = require('promise-fn');\n\n// Install the unhandledRejection listeners\nloudRejection();\n\npromiseFn();\n```\n\nWithout this module it's more verbose and you might even miss some that will fail silently:\n\n```js\nconst promiseFn = require('promise-fn');\n\nfunction error(err) {\n\tconsole.error(err.stack);\n\tprocess.exit(1);\n}\n\npromiseFn().catch(error);\n```\n\n### Register script\n\nAlternatively to the above, you may simply require `loud-rejection/register` and the unhandledRejection listener will be automagically installed for you.\n\nThis is handy for ES2015 imports:\n\n```js\nimport 'loud-rejection/register';\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/loud-rejection.git"
  },
  "scripts": {
    "coveralls": "nyc report --reporter=text-lcov | coveralls",
    "test": "xo && nyc ava"
  },
  "version": "1.2.0",
  "xo": {
    "ignores": [
      "test.js"
    ]
  }
}
