{
  "_id": "currently-unhandled",
  "maintainers": [
    {
      "name": "jamestalmage",
      "email": "james@talmage.io"
    }
  ],
  "keywords": [
    "unhandled",
    "unhandledRejection",
    "rejected",
    "promises"
  ],
  "dist-tags": {
    "latest": "0.4.1"
  },
  "author": {
    "name": "James Talmage",
    "email": "james@talmage.io",
    "url": "github.com/jamestalmage"
  },
  "_rev": "6-9b373defd488e8c69a0cc859a5629c6e",
  "description": "Track the list of currently unhandled promise rejections.",
  "readme": "# currently-unhandled [![Build Status](https://travis-ci.org/jamestalmage/currently-unhandled.svg?branch=master)](https://travis-ci.org/jamestalmage/currently-unhandled) [![Coverage Status](https://coveralls.io/repos/github/jamestalmage/currently-unhandled/badge.svg?branch=master)](https://coveralls.io/github/jamestalmage/currently-unhandled?branch=master)\n\n> Track the list of currently unhandled promise rejections.\n\n\n## Install\n\n```\n$ npm install --save currently-unhandled\n```\n\n\n## Usage\n\n```js\nconst currentlyUnhandled = require('currently-unhandled')(); // <- note the invocation\n\nvar fooError = new Error('foo');\nvar p = Promise.reject(new Error('foo'));\n\n// on the next tick - unhandled rejected promise is added to the list:\ncurrentlyUnhandled();\n//=> [{promise: p, reason: fooError}]'\n\np.catch(() => {});\n\n// on the next tick - handled promise is now removed from the list:\ncurrentlyUnhandled();\n//=> [];\n```\n\n## API\n\n### currentlyUnhandled()\n\nReturns an array of objects with `promise` and `reason` properties representing the rejected promises that currently do not have a rejection handler. The list grows and shrinks as unhandledRejections are published, and later handled.\n\n## Browser Support\n\nThis module can be bundled with `browserify`. At time of writing, it will work with native Promises in the Chrome browser only. For best cross-browser support, use `bluebird` instead of native Promise support in browsers.\n\n## License\n\nMIT © [James Talmage](http://github.com/jamestalmage)\n",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/jamestalmage/currently-unhandled.git"
  },
  "users": {
    "gzg1500521074": true
  },
  "bugs": {
    "url": "https://github.com/jamestalmage/currently-unhandled/issues"
  },
  "license": "MIT",
  "versions": {
    "0.3.0": {
      "name": "currently-unhandled",
      "version": "0.3.0",
      "description": "Track the list of currently unhandled promise rejections.",
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/jamestalmage/currently-unhandled.git"
      },
      "author": {
        "name": "James Talmage",
        "email": "james@talmage.io",
        "url": "github.com/jamestalmage"
      },
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "xo && nyc ava"
      },
      "files": [
        "index.js",
        "core.js",
        "browser.js"
      ],
      "keywords": [
        "unhandled",
        "unhandledRejection",
        "rejected",
        "promises"
      ],
      "dependencies": {},
      "devDependencies": {
        "array-find-index": "^1.0.1",
        "ava": "^0.15.1",
        "browserify": "^13.0.1",
        "coveralls": "^2.11.9",
        "delay": "^1.3.1",
        "is-ci": "^1.0.8",
        "karma": "^0.13.22",
        "karma-browserify": "^5.0.5",
        "karma-chrome-launcher": "^1.0.1",
        "karma-mocha": "^1.0.1",
        "mocha": "^2.5.3",
        "nyc": "^6.4.0",
        "watchify": "^3.7.0",
        "xo": "^0.15.0"
      },
      "browser": {
        "./index.js": "./browser.js"
      },
      "ava": {
        "files": "test.js"
      },
      "nyc": {
        "reporter": [
          "lcov",
          "text"
        ]
      },
      "xo": {
        "envs": [
          "browser",
          "mocha",
          "node"
        ]
      },
      "gitHead": "093d35f6bfe5ffb8bbd122b96ab9bd585346ab8c",
      "bugs": {
        "url": "https://github.com/jamestalmage/currently-unhandled/issues"
      },
      "homepage": "https://github.com/jamestalmage/currently-unhandled#readme",
      "_id": "currently-unhandled@0.3.0",
      "_shasum": "128ff43bb22f6783941bd96974af3e16c435292c",
      "_from": ".",
      "_npmVersion": "3.8.6",
      "_nodeVersion": "5.10.1",
      "_npmUser": {
        "name": "jamestalmage",
        "email": "james@talmage.io"
      },
      "dist": {
        "shasum": "128ff43bb22f6783941bd96974af3e16c435292c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/currently-unhandled/-/currently-unhandled-0.3.0.tgz",
        "integrity": "sha512-F+X2dyfoFby62pRKch634O5jJgIXCucUhYuYWtLnXds0y0zi8+BviJdY0YTmstU5WiiDqyxy2wK6dhjwT+nNLw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCitHHq9OYmBi9zrTcWZ/Vhg8mOUTWkhQoMNP6PqWlzeQIgVNonH/fZiWZM79VyICKMqmvj6mFtCIfPQNEBCHJa2K4="
          }
        ]
      },
      "maintainers": [
        {
          "name": "jamestalmage",
          "email": "james@talmage.io"
        }
      ],
      "_npmOperationalInternal": {
        "host": "packages-12-west.internal.npmjs.com",
        "tmp": "tmp/currently-unhandled-0.3.0.tgz_1464853429580_0.8422293274197727"
      }
    },
    "0.4.0": {
      "name": "currently-unhandled",
      "version": "0.4.0",
      "description": "Track the list of currently unhandled promise rejections.",
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/jamestalmage/currently-unhandled.git"
      },
      "author": {
        "name": "James Talmage",
        "email": "james@talmage.io",
        "url": "github.com/jamestalmage"
      },
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "xo && nyc ava"
      },
      "files": [
        "index.js",
        "core.js",
        "browser.js"
      ],
      "keywords": [
        "unhandled",
        "unhandledRejection",
        "rejected",
        "promises"
      ],
      "dependencies": {},
      "devDependencies": {
        "array-find-index": "^1.0.1",
        "ava": "^0.15.1",
        "bluebird": "^3.4.0",
        "browserify": "^13.0.1",
        "coveralls": "^2.11.9",
        "delay": "^1.3.1",
        "is-ci": "^1.0.8",
        "karma": "^0.13.22",
        "karma-browserify": "^5.0.5",
        "karma-chrome-launcher": "^1.0.1",
        "karma-firefox-launcher": "^1.0.0",
        "karma-mocha": "^1.0.1",
        "mocha": "^2.5.3",
        "nyc": "^6.4.0",
        "watchify": "^3.7.0",
        "xo": "^0.15.0"
      },
      "browser": {
        "./index.js": "./browser.js"
      },
      "ava": {
        "files": "test.js"
      },
      "nyc": {
        "reporter": [
          "lcov",
          "text"
        ]
      },
      "xo": {
        "ignores": [
          "browser-bluebird-test.js"
        ],
        "envs": [
          "browser",
          "mocha",
          "node"
        ]
      },
      "gitHead": "a06d2b89425d4e25497ef60b4bdff4f42de46347",
      "bugs": {
        "url": "https://github.com/jamestalmage/currently-unhandled/issues"
      },
      "homepage": "https://github.com/jamestalmage/currently-unhandled#readme",
      "_id": "currently-unhandled@0.4.0",
      "_shasum": "02b6758db16b1a0e6bd054fc5d9b71bb7b06a8a4",
      "_from": ".",
      "_npmVersion": "3.8.6",
      "_nodeVersion": "5.10.1",
      "_npmUser": {
        "name": "jamestalmage",
        "email": "james@talmage.io"
      },
      "dist": {
        "shasum": "02b6758db16b1a0e6bd054fc5d9b71bb7b06a8a4",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/currently-unhandled/-/currently-unhandled-0.4.0.tgz",
        "integrity": "sha512-EALjQkfRWSItC5b+8rDBCdi5nXvxKUDGcJF9CELKbb9lsSxWKYjeU+JV2ElGNlv6yJ7rCh9ATphZ5bLdhq54KA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDA/1P2yHW1eXgCrbaiAL9Z35k3F3BzeY5Cm/34UICfuwIgZTEK31r1L1RbaCBhNqgil1HCsfeDiRxEd3dln2xycog="
          }
        ]
      },
      "maintainers": [
        {
          "name": "jamestalmage",
          "email": "james@talmage.io"
        }
      ],
      "_npmOperationalInternal": {
        "host": "packages-16-east.internal.npmjs.com",
        "tmp": "tmp/currently-unhandled-0.4.0.tgz_1464863930885_0.9112431481480598"
      }
    },
    "0.4.1": {
      "name": "currently-unhandled",
      "version": "0.4.1",
      "description": "Track the list of currently unhandled promise rejections.",
      "license": "MIT",
      "repository": {
        "type": "git",
        "url": "git+https://github.com/jamestalmage/currently-unhandled.git"
      },
      "author": {
        "name": "James Talmage",
        "email": "james@talmage.io",
        "url": "github.com/jamestalmage"
      },
      "engines": {
        "node": ">=0.10.0"
      },
      "scripts": {
        "test": "xo && nyc ava"
      },
      "files": [
        "index.js",
        "core.js",
        "browser.js"
      ],
      "keywords": [
        "unhandled",
        "unhandledRejection",
        "rejected",
        "promises"
      ],
      "dependencies": {
        "array-find-index": "^1.0.1"
      },
      "devDependencies": {
        "ava": "^0.15.1",
        "bluebird": "^3.4.0",
        "browserify": "^13.0.1",
        "coveralls": "^2.11.9",
        "delay": "^1.3.1",
        "is-ci": "^1.0.8",
        "karma": "^0.13.22",
        "karma-browserify": "^5.0.5",
        "karma-chrome-launcher": "^1.0.1",
        "karma-firefox-launcher": "^1.0.0",
        "karma-mocha": "^1.0.1",
        "mocha": "^2.5.3",
        "nyc": "^6.4.0",
        "watchify": "^3.7.0",
        "xo": "^0.15.0"
      },
      "browser": {
        "./index.js": "./browser.js"
      },
      "ava": {
        "files": "test.js"
      },
      "nyc": {
        "reporter": [
          "lcov",
          "text"
        ]
      },
      "xo": {
        "ignores": [
          "browser-bluebird-test.js"
        ],
        "envs": [
          "browser",
          "mocha",
          "node"
        ]
      },
      "gitHead": "6b998300e8cc2f732d80f99b7ecea37c97ab6ded",
      "bugs": {
        "url": "https://github.com/jamestalmage/currently-unhandled/issues"
      },
      "homepage": "https://github.com/jamestalmage/currently-unhandled#readme",
      "_id": "currently-unhandled@0.4.1",
      "_shasum": "988df33feab191ef799a61369dd76c17adf957ea",
      "_from": ".",
      "_npmVersion": "3.8.6",
      "_nodeVersion": "5.10.1",
      "_npmUser": {
        "name": "jamestalmage",
        "email": "james@talmage.io"
      },
      "dist": {
        "shasum": "988df33feab191ef799a61369dd76c17adf957ea",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/currently-unhandled/-/currently-unhandled-0.4.1.tgz",
        "integrity": "sha512-/fITjgjGU50vjQ4FH6eUoYu+iUoUKIXws2hL15JJpIR+BbTxaXQsMuuyjtNh2WqsSBS5nsaZHFsFecyw5CCAng==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCicOSKJwofJ9Iszt9lax+M346KEMyLkBgTO3c9UAHjeAIgYgDgeL9z74nD7ohqmqfb/coCE0It/9t16j/eOZCuxFM="
          }
        ]
      },
      "maintainers": [
        {
          "name": "jamestalmage",
          "email": "james@talmage.io"
        }
      ],
      "_npmOperationalInternal": {
        "host": "packages-12-west.internal.npmjs.com",
        "tmp": "tmp/currently-unhandled-0.4.1.tgz_1464866113117_0.9455041608307511"
      }
    }
  },
  "name": "currently-unhandled",
  "time": {
    "modified": "2026-05-20T15:56:38.564Z",
    "created": "2016-06-02T07:43:51.637Z",
    "0.3.0": "2016-06-02T07:43:51.637Z",
    "0.4.0": "2016-06-02T10:38:52.131Z",
    "0.4.1": "2016-06-02T11:15:15.444Z"
  },
  "readmeFilename": "readme.md",
  "homepage": "https://github.com/jamestalmage/currently-unhandled#readme"
}