{
  "_id": "popsicle-status",
  "maintainers": [
    {
      "name": "blakeembrey",
      "email": "hello@blakeembrey.com"
    }
  ],
  "keywords": [
    "popsicle",
    "plugin",
    "status",
    "http",
    "response"
  ],
  "dist-tags": {
    "latest": "3.0.0"
  },
  "author": {
    "name": "Blake Embrey",
    "email": "hello@blakeembrey.com",
    "url": "http://blakeembrey.me"
  },
  "_rev": "19-9d740d1032b0f3d86f7d7843342e40bc",
  "description": "Popsicle middleware for rejecting responses with bad HTTP statuses",
  "readme": "# Popsicle Status\n\n[![NPM version][npm-image]][npm-url]\n[![NPM downloads][downloads-image]][downloads-url]\n[![Build status][travis-image]][travis-url]\n[![Test coverage][coveralls-image]][coveralls-url]\n\nPopsicle middleware for rejecting responses with bad HTTP statuses.\n\n## Installation\n\n```\nnpm install popsicle-status --save\n```\n\n## Usage\n\n```js\nimport { status } from \"popsicle-status\";\n\nconst middleware = status();\n\nconst res = await middleware(req, send);\n```\n\n### **status(min?: number, max?: number)**\n\nDefault status codes of min `200` (inclusive) and max `400` (exclusive).\n\n## TypeScript\n\nThis project is written using [TypeScript](https://github.com/Microsoft/TypeScript) and publishes the definitions directly to NPM.\n\n## License\n\nMIT\n\n[npm-image]: https://img.shields.io/npm/v/popsicle-status.svg?style=flat\n[npm-url]: https://npmjs.org/package/popsicle-status\n[downloads-image]: https://img.shields.io/npm/dm/popsicle-status.svg?style=flat\n[downloads-url]: https://npmjs.org/package/popsicle-status\n[travis-image]: https://img.shields.io/travis/blakeembrey/popsicle-status.svg?style=flat\n[travis-url]: https://travis-ci.org/blakeembrey/popsicle-status\n[coveralls-image]: https://img.shields.io/coveralls/blakeembrey/popsicle-status.svg?style=flat\n[coveralls-url]: https://coveralls.io/r/blakeembrey/popsicle-status?branch=master\n",
  "repository": {
    "type": "git",
    "url": "git://github.com/blakeembrey/popsicle-status.git"
  },
  "bugs": {
    "url": "https://github.com/blakeembrey/popsicle-status/issues"
  },
  "license": "MIT",
  "versions": {
    "0.0.1": {
      "name": "popsicle-status",
      "version": "0.0.1",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "scripts": {
        "test": "istanbul cover _mocha -- -R spec"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "chai": "^1.10.0",
        "istanbul": "^0.3.5",
        "mocha": "^2.0.1",
        "nock": "^0.51.0",
        "popsicle": "^0.1.1"
      },
      "gitHead": "d0dc58a587365d072d5b58cec81d7ad3a7015902",
      "_id": "popsicle-status@0.0.1",
      "_shasum": "622529402bd5d66e1471d973751b5cb381501439",
      "_from": ".",
      "_npmVersion": "2.0.0",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "dist": {
        "shasum": "622529402bd5d66e1471d973751b5cb381501439",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-0.0.1.tgz",
        "integrity": "sha512-CERyjvd1B8j9ZkHxs5hw97d2tq3nFwyNdFIVXnA/juzyUe0nO64MOJV8P/Cxl+GqIQJBi+4SFfZ+m9+I6ULqyw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCrXYVZ/pUuJQDHGhOIjdYs/bHdKp42KXKnO5Asno+hkQIgB93FQdxatAE7jy19vZo+Yq+7jd+gOfuAnpt04wgWgms="
          }
        ]
      },
      "directories": {}
    },
    "0.0.2": {
      "name": "popsicle-status",
      "version": "0.0.2",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "scripts": {
        "test": "istanbul cover _mocha -- -R spec"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "chai": "^1.10.0",
        "istanbul": "^0.3.5",
        "mocha": "^2.0.1",
        "nock": "^0.51.0",
        "popsicle": "^0.1.1"
      },
      "gitHead": "f8279340381e89a6da01a3453d799af7e5fa4a45",
      "_id": "popsicle-status@0.0.2",
      "_shasum": "ef59f7025372180d7c1631bf4e2f406f198dad5f",
      "_from": ".",
      "_npmVersion": "2.5.1",
      "_nodeVersion": "0.12.0",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "dist": {
        "shasum": "ef59f7025372180d7c1631bf4e2f406f198dad5f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-0.0.2.tgz",
        "integrity": "sha512-sKpjFKDXEua1LKiwP9QnxDEHHirSjqSPfJWS4LaU2JajSCvJ56iwW0tYJjRmppDvA3qD3WI4pyGWYJl1pqd18Q==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQCkl8mDXwpVBiN4OcHQKWQnDwPRe6LveTJ1c3MsbMkWXgIgBP5GF08x+rgUA75g/id8wW0uMRNlRgiR+XBgSO19jDc="
          }
        ]
      },
      "directories": {}
    },
    "0.1.0": {
      "name": "popsicle-status",
      "version": "0.1.0",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "files": [
        "popsicle-status.js",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "chai": "^2.1.1",
        "istanbul": "^0.3.5",
        "mocha": "^2.0.1",
        "nock": "^1.1.0",
        "popsicle": "^0.4.0",
        "pre-commit": "^1.0.6",
        "standard": "^3.0.0-alpha"
      },
      "gitHead": "65567bcf2d0b799074b345356d918745b2731207",
      "_id": "popsicle-status@0.1.0",
      "_shasum": "8184c1d6cb99dc920db3cbd1f60d59edae8aeda8",
      "_from": ".",
      "_npmVersion": "2.5.1",
      "_nodeVersion": "0.12.0",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "dist": {
        "shasum": "8184c1d6cb99dc920db3cbd1f60d59edae8aeda8",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-0.1.0.tgz",
        "integrity": "sha512-CLm9FgyGnajKflEWY+MbW900TfdeLRXB9hrysT8YJjYK6V8qGJyiPAfrcolH+F7k3FBfSaSoB6pVVHdAgVhTiQ==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIDr4A60P2xAkFrnp7+NM8TG8CcKr8k5HuHwsmOsTviZ3AiEAnLOw49Exmb/pXlC1GiUVcePPa9tKApCtFF1KeVK+odQ="
          }
        ]
      },
      "directories": {}
    },
    "0.1.1": {
      "name": "popsicle-status",
      "version": "0.1.1",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "files": [
        "popsicle-status.js",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "chai": "^2.1.1",
        "es6-promise": "^2.0.1",
        "istanbul": "^0.3.5",
        "mocha": "^2.0.1",
        "nock": "^1.1.0",
        "popsicle": "^0.4.0",
        "pre-commit": "^1.0.6",
        "standard": "^3.0.0-alpha"
      },
      "gitHead": "820c263564a696bd0f42c83560e6e3f1f0477b8c",
      "_id": "popsicle-status@0.1.1",
      "_shasum": "8c21b8681ffe1bd3acd3ec42619cb39a339c2d0f",
      "_from": ".",
      "_npmVersion": "2.9.0",
      "_nodeVersion": "2.0.1",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "dist": {
        "shasum": "8c21b8681ffe1bd3acd3ec42619cb39a339c2d0f",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-0.1.1.tgz",
        "integrity": "sha512-KzCwdQH9GcchT5kAGleJZWtwpQChz3LU8EZi8Cnt3wDISh8ZgegoEizdMT1cOGRCxNv7tmOPyvt3EJk+RhFSHw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIDb8GBtQ6NMThtBYbNFegJAvTR3XA3FzSYlcdW57Al5rAiB8RBHA3fckMp7Ue9oAXlvpBY/XHogwK/oJkBjPqIpmag=="
          }
        ]
      },
      "directories": {}
    },
    "0.2.0": {
      "name": "popsicle-status",
      "version": "0.2.0",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "files": [
        "popsicle-status.js",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "chai": "^3.3.0",
        "es6-promise": "^3.0.2",
        "istanbul": "^0.3.5",
        "mocha": "^2.0.1",
        "nock": "^2.13.0",
        "popsicle": "^1.1.1",
        "pre-commit": "^1.0.6",
        "standard": "^5.3.1"
      },
      "gitHead": "e12ee61d8316dadc113f8ff916687e79209e7b15",
      "_id": "popsicle-status@0.2.0",
      "_shasum": "e19fb459129713833f30a10c81a248d8bce8e100",
      "_from": ".",
      "_npmVersion": "2.14.2",
      "_nodeVersion": "4.0.0",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "dist": {
        "shasum": "e19fb459129713833f30a10c81a248d8bce8e100",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-0.2.0.tgz",
        "integrity": "sha512-Iw+0cClIQMmUBq61r3pxCI8kgU7NwPckZAz9WTBu/vM2VNncJ6J/hILNYg7w+RWLlsEJpGqp1noGTntqLsb2zw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQCWib00k6C5wwTJhWD/Bqb6c/VdWsBNQo5S6wFRCWXxcAIhAIqj++QRcwFFaz94lPRehTvZ8NZTq2cZB6yR6NyDaRbf"
          }
        ]
      },
      "directories": {}
    },
    "0.2.1": {
      "name": "popsicle-status",
      "version": "0.2.1",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "files": [
        "popsicle-status.js",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "chai": "^3.3.0",
        "istanbul": "^0.3.5",
        "mocha": "^2.0.1",
        "nock": "^2.13.0",
        "popsicle": "^1.2.1",
        "pre-commit": "^1.0.6",
        "standard": "^5.3.1"
      },
      "gitHead": "f9b4ffd6f1fc9334d55ab5aab7b051d81ba482e1",
      "_id": "popsicle-status@0.2.1",
      "_shasum": "6b34a840648eaae2a1d7c0dd38daee8bc1710af4",
      "_from": ".",
      "_npmVersion": "1.4.28",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "dist": {
        "shasum": "6b34a840648eaae2a1d7c0dd38daee8bc1710af4",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-0.2.1.tgz",
        "integrity": "sha512-Yz0cTB030M1jzOIjwg+VmNv0pfI1nFfzui+a7ALFIzcpqRKyEYGgPJdYawBDDksyyFVurdP8+fjX+pNoZYgFyw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIFE711HSNYwU/3RpqTTafKla6lm/bcXR69mCGtkB0PChAiEAxUiNwbUG+FPwYMfMYNPTz0iUihX52Qf+jaIl974xoFg="
          }
        ]
      },
      "directories": {}
    },
    "0.2.2": {
      "name": "popsicle-status",
      "version": "0.2.2",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "files": [
        "popsicle-status.js",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "bluebird": "^3.0.5",
        "chai": "^3.3.0",
        "istanbul": "^0.3.5",
        "mocha": "^2.0.1",
        "nock": "^2.13.0",
        "popsicle": "^1.2.1",
        "pre-commit": "^1.0.6",
        "standard": "^5.3.1"
      },
      "gitHead": "22659b3e90c562287dadb9a648af4c5badefe60a",
      "_id": "popsicle-status@0.2.2",
      "_shasum": "8c40b3848561b51c69fa848d06efc22d9520a7df",
      "_from": ".",
      "_npmVersion": "3.3.6",
      "_nodeVersion": "5.0.0",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "dist": {
        "shasum": "8c40b3848561b51c69fa848d06efc22d9520a7df",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-0.2.2.tgz",
        "integrity": "sha512-F9EjdeZxKfSr56jaf+hPB9CiSUKbTm02NC1UQ1fN0LTc1LdQDmLviH2BmnpsVoPPY9vOvmuKXwnPaOalaovJLg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIGCO5iYCA3UP+ET2BehMXpzVNRQWEHAc2LVCBg9nOn2aAiEA3yy/nFggIbz14O5fKWmpdnQjNxCn+W8fSPV7GJkaaro="
          }
        ]
      },
      "directories": {}
    },
    "1.0.0": {
      "name": "popsicle-status",
      "version": "1.0.0",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "files": [
        "popsicle-status.js",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "bluebird": "^3.0.5",
        "chai": "^3.3.0",
        "istanbul": "^0.4.1",
        "mocha": "^2.0.1",
        "nock": "^5.2.1",
        "popsicle": "^3.0.0",
        "pre-commit": "^1.0.6",
        "standard": "^5.3.1"
      },
      "gitHead": "d2389479afafa0dcae6a2ace659a64d049cfd700",
      "_id": "popsicle-status@1.0.0",
      "_shasum": "2f05d879c6ef078a82e8b49c2bdd97f14ffb5d49",
      "_from": ".",
      "_npmVersion": "3.3.12",
      "_nodeVersion": "5.1.0",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "dist": {
        "shasum": "2f05d879c6ef078a82e8b49c2bdd97f14ffb5d49",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-1.0.0.tgz",
        "integrity": "sha512-m4EG8D8l1zkucCyYUBtqI6/EYyGg3Bt7zRPgzIzTRPNdsIG7QUAZGTSq5BcbO4HqmANkT/WBtxE8fLloNCopvw==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIGuy09C/kJF76hsBNcXhy6Cz/iLBvo5T09BVvSWZAIAYAiAyC/f+HxWcIdIxq1S1JDhSNaYDiKI4Ntc4o2tEQbr0hQ=="
          }
        ]
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "directories": {}
    },
    "1.0.1": {
      "name": "popsicle-status",
      "version": "1.0.1",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "typings": "popsicle-status.d.ts",
      "files": [
        "popsicle-status.js",
        "popsicle-status.d.ts",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "bluebird": "^3.0.5",
        "chai": "^3.3.0",
        "istanbul": "^0.4.1",
        "mocha": "^2.0.1",
        "nock": "^5.2.1",
        "popsicle": "^3.0.0",
        "pre-commit": "^1.0.6",
        "standard": "^5.3.1"
      },
      "gitHead": "0ca13ab838a162275f4e7f5b51f3a3e4e7e62cad",
      "_id": "popsicle-status@1.0.1",
      "_shasum": "208ba1e1ba88bc82ddf76d515d0970e11c76d914",
      "_from": ".",
      "_npmVersion": "3.3.12",
      "_nodeVersion": "5.4.1",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "dist": {
        "shasum": "208ba1e1ba88bc82ddf76d515d0970e11c76d914",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-1.0.1.tgz",
        "integrity": "sha512-PzaQxsQ4ezaj6BJ9aLI0R53varfmBNNLv6/91+dHMcf6SIW3bE/roPNIKI2HsqEfoI2MHEdwxDjVDyUUSOysHA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIBzJ65xGg5s5ml7AY4KVAuPz2PdKwFnMqmOI8LTch3SkAiEA7QColIUzFf8P7nfoTFlZwf57q39snfG33Fi8wE8IgSQ="
          }
        ]
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "packages-9-west.internal.npmjs.com",
        "tmp": "tmp/popsicle-status-1.0.1.tgz_1454734190347_0.7187980392482132"
      },
      "directories": {}
    },
    "1.0.2": {
      "name": "popsicle-status",
      "version": "1.0.2",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "typings": "popsicle-status.d.ts",
      "files": [
        "popsicle-status.js",
        "popsicle-status.d.ts",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "bluebird": "^3.0.5",
        "chai": "^3.3.0",
        "istanbul": "^0.4.1",
        "mocha": "^2.0.1",
        "nock": "^5.2.1",
        "popsicle": "^3.0.0",
        "pre-commit": "^1.0.6",
        "standard": "^5.3.1"
      },
      "gitHead": "bc90736c8865ebb8b27d5484818e82b2c038e803",
      "_id": "popsicle-status@1.0.2",
      "_shasum": "a02416727580724412e09d1303f067cea3ca0e13",
      "_from": ".",
      "_npmVersion": "3.6.0",
      "_nodeVersion": "5.7.1",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "dist": {
        "shasum": "a02416727580724412e09d1303f067cea3ca0e13",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-1.0.2.tgz",
        "integrity": "sha512-FiXWh9XwrdqxWZrO0utHNXdUGPvIeV4wSy7Ir615BNJPBeQ43xCqCDZxa6UzfrogsvKuBrEXtIb9Y64PEXAsbA==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIBuPmulrDPpriJQON8rFf/wvdFf8N02eK5wDKgDADILAAiBTAZtVb1ZUwC2/3DbQzXSoFl8UNNuyzsA0cJs601/1vA=="
          }
        ]
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "packages-12-west.internal.npmjs.com",
        "tmp": "tmp/popsicle-status-1.0.2.tgz_1459470515645_0.7759254511911422"
      },
      "directories": {}
    },
    "2.0.0": {
      "name": "popsicle-status",
      "version": "2.0.0",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "typings": "popsicle-status.d.ts",
      "files": [
        "popsicle-status.js",
        "popsicle-status.d.ts",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "bluebird": "^3.0.5",
        "chai": "^3.3.0",
        "istanbul": "^0.4.1",
        "mocha": "^2.0.1",
        "nock": "^8.0.0",
        "popsicle": "^6.0.0",
        "standard": "^7.0.1"
      },
      "gitHead": "cfd24007a392c4b6ae1798261409d986669b99fc",
      "_id": "popsicle-status@2.0.0",
      "_shasum": "54e12722376efba0a353abdf53cbf1ce0e852efa",
      "_from": ".",
      "_npmVersion": "3.8.3",
      "_nodeVersion": "5.10.1",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "dist": {
        "shasum": "54e12722376efba0a353abdf53cbf1ce0e852efa",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-2.0.0.tgz",
        "integrity": "sha512-016iXXSZSkL1Q5voRVUdMvCUQe5ygU5BJjKIzeyMPQ8cdf+OzoBu5YnSI2FHPeRMRMdViYkxy0N42S6Pl4/Hcg==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDo1ngv+X/rtFFOx2mMuWSgYDJDydD/gsNppII8CyG9QwIhAKK/xZO71LJcXGvgl/9Th78nr8+vP/S3tQgtaRJNkZ2e"
          }
        ]
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "packages-16-east.internal.npmjs.com",
        "tmp": "tmp/popsicle-status-2.0.0.tgz_1462668564304_0.541052101412788"
      },
      "directories": {}
    },
    "2.0.1": {
      "name": "popsicle-status",
      "version": "2.0.1",
      "description": "Reject Popsicle responses on HTTP failure status codes",
      "main": "popsicle-status.js",
      "typings": "popsicle-status.d.ts",
      "files": [
        "popsicle-status.js",
        "popsicle-status.d.ts",
        "LICENSE"
      ],
      "scripts": {
        "lint": "standard",
        "test-spec": "mocha -R spec --bail",
        "test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- -R spec --bail",
        "test": "npm run lint && npm run test-cov"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "devDependencies": {
        "bluebird": "^3.0.5",
        "chai": "^3.3.0",
        "istanbul": "^0.4.1",
        "mocha": "^3.3.0",
        "nock": "^9.0.13",
        "popsicle": "^9.1.0",
        "standard": "^10.0.2"
      },
      "gitHead": "960ded63fbb25cf14bde04fdbd436315029d3947",
      "_id": "popsicle-status@2.0.1",
      "_shasum": "8dd70c4fe7c694109add784ffe80eacac1e7b28d",
      "_from": ".",
      "_npmVersion": "3.10.10",
      "_nodeVersion": "7.3.0",
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "dist": {
        "shasum": "8dd70c4fe7c694109add784ffe80eacac1e7b28d",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-2.0.1.tgz",
        "integrity": "sha512-jMzDnC9xEmyF624Fq4kfjWkFZuK4fOiCHKtr9MthCwpmQXRT+Eck1yEXbRwOEoS9qEWQGbi3THsBfC1Bzk7R/A==",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEUCIQDZQGpmqIE3ZOpkc6386DMblCutPRbQncEgburrog50CQIgE0sNuoEOcTv9IIPfbNDzrOiuZPS2wyZljBdxe3WrfIs="
          }
        ]
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/popsicle-status-2.0.1.tgz_1495561100359_0.23327770247124135"
      },
      "directories": {}
    },
    "3.0.0": {
      "name": "popsicle-status",
      "version": "3.0.0",
      "description": "Popsicle middleware for rejecting responses with bad HTTP statuses",
      "main": "dist/index.js",
      "types": "dist/index.d.ts",
      "scripts": {
        "prettier": "prettier --write",
        "lint": "tslint \"src/**/*.ts\" --project tsconfig.json",
        "format": "npm run prettier -- README.md \"src/**/*.{js,ts}\"",
        "build": "rimraf dist && tsc",
        "specs": "jest --coverage",
        "test": "npm run -s lint && npm run -s build && npm run -s specs && npm run -s size",
        "prepare": "npm run build",
        "size": "size-limit"
      },
      "repository": {
        "type": "git",
        "url": "git://github.com/blakeembrey/popsicle-status.git"
      },
      "keywords": [
        "popsicle",
        "plugin",
        "status",
        "http",
        "response"
      ],
      "author": {
        "name": "Blake Embrey",
        "email": "hello@blakeembrey.com",
        "url": "http://blakeembrey.me"
      },
      "license": "MIT",
      "bugs": {
        "url": "https://github.com/blakeembrey/popsicle-status/issues"
      },
      "homepage": "https://github.com/blakeembrey/popsicle-status",
      "size-limit": [
        {
          "path": "./dist/index.js",
          "limit": "200 B"
        }
      ],
      "jest": {
        "roots": [
          "<rootDir>/src/"
        ],
        "transform": {
          "\\.tsx?$": "ts-jest"
        },
        "testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
        "moduleFileExtensions": [
          "ts",
          "tsx",
          "js",
          "jsx",
          "json",
          "node"
        ]
      },
      "husky": {
        "hooks": {
          "pre-commit": "lint-staged"
        }
      },
      "lint-staged": {
        "*.{js,json,css,md}": [
          "npm run prettier",
          "git add"
        ]
      },
      "publishConfig": {
        "access": "public"
      },
      "peerDependencies": {
        "servie": "^4.0.0"
      },
      "devDependencies": {
        "@types/jest": "^24.0.13",
        "husky": "^2.4.0",
        "jest": "^24.8.0",
        "lint-staged": "^8.2.0",
        "prettier": "^1.18.2",
        "servie": "^4.0.6",
        "size-limit": "^1.3.6",
        "standard": "^10.0.2",
        "throwback": "^4.0.0",
        "ts-jest": "^24.0.2",
        "tslint": "^5.17.0",
        "tslint-config-prettier": "^1.18.0",
        "tslint-config-standard": "^8.0.1",
        "typescript": "^3.5.1"
      },
      "gitHead": "48bf8e04be43d86136203177fd6a93c35bf9fdbd",
      "_id": "popsicle-status@3.0.0",
      "_nodeVersion": "12.3.1",
      "_npmVersion": "6.9.0",
      "dist": {
        "integrity": "sha512-1ZPBZLvzlXFLEk3umGSkgt5eQ0SgeyuWnFXNHFUQDcX5vumDs0MsGo77zvCi/xBaLtyyrs8HIEBw56+cHoxTEA==",
        "shasum": "5cc646a33a89cc3c411e035cb99ff1a1818db262",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/popsicle-status/-/popsicle-status-3.0.0.tgz",
        "fileCount": 9,
        "unpackedSize": 12177,
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc/WWXCRA9TVsSAnZWagAABowP/j9jRYmYXhazIog3649G\n0YkUkXhw9w3Pw86g5vKYQGct/WZGpgaPQlaAePbBIIOEQEOfGZPWl3eBpFi4\nwIrGJCdquQ1WnJPU+7EUof13bj/LtbxLHQWZurCkl4xSWM9MxVH8Mdh1Gc2E\n5BwJXo11eDyRaPfjdDcaGPJIM+dEiuN3oI2tvUaziU5idtKo9uRJ65srbxj2\nEYayhtUfy04QrHdRQHvapQ096MNosXE7s/u7Ai2wp7C9gv6sPCda8DDJOZJ0\nENquC985SrNjcgPYOgfDgNpl8SNY3MW+V7Xyd1fK4px3LPRSDq3oJZTuP9LW\ngqQOchb9Q+wBxzKhNo9mZfntH+PiLKiS+VjrP7GKOaqUwFP5dm2Q7MYGQkEs\nGSiyAOhHAaD+cbGQPiEWEx2ds2waGrjf4uGTDtDILG1JQuHJLd2zV+nAvTHs\nfPORWlPIpmCerPaE4huky/wu7HNY45wztjQm1pNuhyRMv3X6LVMEGA5HRUYK\nVf1fwrxmj/fg5PHPR8763tvMZJUddbT1vzUNgNTBdNJ+FKMyT8t0sbYxxRuh\nv3gZ5qPUk+/IQKYauMJp4k7UA9kHEPe3RKrdHG+hPKPmx9BrXRFpWhE6qIRg\nXP1y/EUAqWRkc1SRqtBotoX5IEoJD8hPWD0Or+Q3r8s5S+gxWPujJr7WkxO3\nP6tl\r\n=fX7t\r\n-----END PGP SIGNATURE-----\r\n",
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDUQkA6vk9uMNetLFenmTfx6EWDUjAAOquAVjhs8QXergIhAPi/i5lLGFfWktoLLCPwDqOhs9ukqLmNyyGDSv9cE79j"
          }
        ]
      },
      "maintainers": [
        {
          "name": "blakeembrey",
          "email": "hello@blakeembrey.com"
        }
      ],
      "_npmUser": {
        "name": "blakeembrey",
        "email": "hello@blakeembrey.com"
      },
      "directories": {},
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/popsicle-status_3.0.0_1560110487307_0.7830383278098842"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "popsicle-status",
  "time": {
    "modified": "2026-07-20T06:24:52.311Z",
    "created": "2014-12-11T20:23:46.054Z",
    "0.0.1": "2014-12-11T20:23:46.054Z",
    "0.0.2": "2015-02-16T14:54:51.035Z",
    "0.1.0": "2015-03-07T04:18:00.891Z",
    "0.1.1": "2015-05-24T19:01:44.467Z",
    "0.2.0": "2015-10-03T22:26:36.273Z",
    "0.2.1": "2015-11-01T23:07:25.745Z",
    "0.2.2": "2015-11-02T02:12:33.114Z",
    "1.0.0": "2016-01-10T02:05:46.709Z",
    "1.0.1": "2016-02-06T04:49:51.147Z",
    "1.0.2": "2016-04-01T00:28:36.123Z",
    "2.0.0": "2016-05-08T00:49:25.383Z",
    "2.0.1": "2017-05-23T17:38:21.636Z",
    "3.0.0": "2019-06-09T20:01:27.407Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/blakeembrey/popsicle-status"
}