{
  "_args": [
    [
      {
        "raw": "p-limit@2.0.0",
        "scope": null,
        "escapedName": "p-limit",
        "name": "p-limit",
        "rawSpec": "2.0.0",
        "spec": "2.0.0",
        "type": "version"
      },
      "/home/zkochan/src/pnpm/packages/pnpm"
    ]
  ],
  "_from": "p-limit@2.0.0",
  "_id": "p-limit@2.0.0",
  "_inCache": true,
  "_location": "/p-limit",
  "_nodeVersion": "8.11.2",
  "_npmOperationalInternal": {
    "host": "s3://npm-registry-packages",
    "tmp": "tmp/p-limit_2.0.0_1528998260071_0.8291032578012119"
  },
  "_npmUser": {
    "name": "sindresorhus",
    "email": "sindresorhus@gmail.com"
  },
  "_npmVersion": "5.6.0",
  "_phantomChildren": {},
  "_requested": {
    "raw": "p-limit@2.0.0",
    "scope": null,
    "escapedName": "p-limit",
    "name": "p-limit",
    "rawSpec": "2.0.0",
    "spec": "2.0.0",
    "type": "version"
  },
  "_requiredBy": [
    "/",
    "/@pnpm/headless",
    "/@pnpm/npm-resolver",
    "/@pnpm/package-requester",
    "/@pnpm/server",
    "/dint",
    "/p-locate",
    "/package-store",
    "/pnpm-list",
    "/supi"
  ],
  "_resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz",
  "_shasum": "e624ed54ee8c460a778b3c9f3670496ff8a57aec",
  "_shrinkwrap": null,
  "_spec": "p-limit@2.0.0",
  "_where": "/home/zkochan/src/pnpm/packages/pnpm",
  "author": {
    "name": "Sindre Sorhus",
    "email": "sindresorhus@gmail.com",
    "url": "sindresorhus.com"
  },
  "bugs": {
    "url": "https://github.com/sindresorhus/p-limit/issues"
  },
  "dependencies": {
    "p-try": "^2.0.0"
  },
  "description": "Run multiple promise-returning & async functions with limited concurrency",
  "devDependencies": {
    "ava": "*",
    "delay": "^3.0.0",
    "in-range": "^1.0.0",
    "random-int": "^1.0.0",
    "time-span": "^2.0.0",
    "xo": "*"
  },
  "directories": {},
  "dist": {
    "integrity": "sha512-fl5s52lI5ahKCernzzIyAP0QAZbGIovtVHGwpcu1Jr/EpzLVDI2myISHwGqK7m8uQFugVWSrbxH7XnhGtvEc+A==",
    "shasum": "e624ed54ee8c460a778b3c9f3670496ff8a57aec",
    "tarball": "https://registry.npmjs.org/p-limit/-/p-limit-2.0.0.tgz",
    "fileCount": 4,
    "unpackedSize": 4343,
    "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbIql1CRA9TVsSAnZWagAA/bgP/38r6Dcrqym8D77K6u36\n8t3MsTI7AqnSfz0srYU6Q/Kwi6c4lc1hQOZ+FSI6rRdtAYPMCn5zelbFBrWh\nhRu4vJnApoYr9KLjICl6hLhnKEN/QD0K3FxbEQGrvklQngMOSyWzNbdnGVhx\nhgDZB11LJBuqpF+RrO+JeHCJrDskgqkNn2463szABwvTGNYGNYkqxmSR3jCC\nqtfyx3ulq+PDqhuXkZ4PmrlNYB2bdWyFntdHo72LkaXfw1CvwlNHO/HQjUi5\nUM060kiBuuFWtkbVakhO5QA344n8iXn0VbMrqYRfnqkRoxdezb1evtwHit7p\nw/CYylDEVpKRQb9U9gEljfXtElE9LameJUbunCTWSBkBpiuUPXcz1l/gLix9\n5fpA6mouJOQEUszxE97vACaQM7TO90d2UEwmA9ol/+wodQHKHEah6lyvLYx2\ng+fu77+fyTFkKFGu4Zz2nOrZJHOuCIRPMfcc3ijiEnGgehQ5bN81rSOY5AIA\nUFmc8rFa1J9S+Xcj75GyeRJ+1DOnf7no1mrY8vJ3UFBuq543mhlIiZ6cYsVd\ncc//iuSK1vnDkaiAQSsVKTz4k6RlGzjHA69Ath7mT+FxuljuJc253QmKCPBA\nu60jjbaijuIyhPhY2a0fNtLPwyNscDid1fGbvADOSH4aC2Giz3UHLPego8t4\nT/Iw\r\n=KPle\r\n-----END PGP SIGNATURE-----\r\n"
  },
  "engines": {
    "node": ">=6"
  },
  "files": [
    "index.js"
  ],
  "gitHead": "0eef70fffc6503a84d8a768b6efe42e227169dc6",
  "homepage": "https://github.com/sindresorhus/p-limit#readme",
  "keywords": [
    "promise",
    "limit",
    "limited",
    "concurrency",
    "throttle",
    "throat",
    "rate",
    "batch",
    "ratelimit",
    "task",
    "queue",
    "async",
    "await",
    "promises",
    "bluebird"
  ],
  "license": "MIT",
  "maintainers": [
    {
      "name": "sindresorhus",
      "email": "sindresorhus@gmail.com"
    }
  ],
  "name": "p-limit",
  "optionalDependencies": {},
  "readme": "# p-limit [![Build Status](https://travis-ci.org/sindresorhus/p-limit.svg?branch=master)](https://travis-ci.org/sindresorhus/p-limit)\n\n> Run multiple promise-returning & async functions with limited concurrency\n\n\n## Install\n\n```\n$ npm install p-limit\n```\n\n\n## Usage\n\n```js\nconst pLimit = require('p-limit');\n\nconst limit = pLimit(1);\n\nconst input = [\n\tlimit(() => fetchSomething('foo')),\n\tlimit(() => fetchSomething('bar')),\n\tlimit(() => doSomething())\n];\n\n(async () => {\n\t// Only one promise is run at once\n\tconst result = await Promise.all(input);\n\tconsole.log(result);\n})();\n```\n\n\n## API\n\n### pLimit(concurrency)\n\nReturns a `limit` function.\n\n#### concurrency\n\nType: `number`<br>\nMinimum: `1`\n\nConcurrency limit.\n\n### limit(fn, ...args)\n\nReturns the promise returned by calling `fn(...args)`.\n\n#### fn\n\nType: `Function`\n\nPromise-returning/async function.\n\n#### ...args\n\nAny arguments to pass through to `fn`.\n\nSupport for passing arguments on to the `fn` is provided in order to be able to avoid creating unnecessary closures. You probably don't need this optimization unless you're pushing a *lot* of functions.\n\n\n## Related\n\n- [p-queue](https://github.com/sindresorhus/p-queue) - Promise queue with concurrency control\n- [p-throttle](https://github.com/sindresorhus/p-throttle) - Throttle promise-returning & async functions\n- [p-debounce](https://github.com/sindresorhus/p-debounce) - Debounce promise-returning & async functions\n- [p-all](https://github.com/sindresorhus/p-all) - Run promise-returning & async functions concurrently with optional limited concurrency\n- [More…](https://github.com/sindresorhus/promise-fun)\n\n\n## License\n\nMIT © [Sindre Sorhus](https://sindresorhus.com)\n",
  "readmeFilename": "readme.md",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/sindresorhus/p-limit.git"
  },
  "scripts": {
    "test": "xo && ava"
  },
  "version": "2.0.0"
}
