File: /home/imensosw/.npm/registry.npmjs.org/p-limit/.cache.json
{"_id":"p-limit","_rev":"12-e8756d369682dca016a4623781133332","name":"p-limit","description":"Run multiple promise-returning & async functions with limited concurrency","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"p-limit","version":"1.0.0","description":"Run multiple promise-returning & async functions with limited concurrency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"devDependencies":{"ava":"*","delay":"^1.3.1","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^1.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"b364100fada683f5d43640fec2fd48b6ab4978dd","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@1.0.0","_shasum":"1b6d069a70cbb89c54c172765680eff803a1e0ec","_from":".","_npmVersion":"2.15.9","_nodeVersion":"4.6.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1b6d069a70cbb89c54c172765680eff803a1e0ec","tarball":"https://registry.npmjs.org/p-limit/-/p-limit-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/p-limit-1.0.0.tgz_1477036781404_0.05086738429963589"},"directories":{}},"1.1.0":{"name":"p-limit","version":"1.1.0","description":"Run multiple promise-returning & async functions with limited concurrency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"devDependencies":{"ava":"*","delay":"^1.3.1","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^1.0.0","xo":"*"},"xo":{"esnext":true},"gitHead":"276b0aeef73ac9fe0b80622d8261a2bbe4f9f74c","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@1.1.0","_shasum":"b07ff2d9a5d88bec806035895a2bab66a27988bc","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"b07ff2d9a5d88bec806035895a2bab66a27988bc","tarball":"https://registry.npmjs.org/p-limit/-/p-limit-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/p-limit-1.1.0.tgz_1479711587647_0.4504568234551698"},"directories":{}},"1.2.0":{"name":"p-limit","version":"1.2.0","description":"Run multiple promise-returning & async functions with limited concurrency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^1.0.0"},"devDependencies":{"ava":"*","delay":"^2.0.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","xo":"*"},"gitHead":"4b3ecd3e9b43de4ae687505bc946b41d496065f1","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@1.2.0","_npmVersion":"5.5.1","_nodeVersion":"8.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-Y/OtIaXtUPr4/YpMv1pCL5L5ed0rumAaAeBSj12F+bSlMdys7i8oQF/GUJmfpTS/QoaRrS/k6pma29haJpsMng==","shasum":"0e92b6bedcb59f022c13d0f1949dc82d15909f1c","tarball":"https://registry.npmjs.org/p-limit/-/p-limit-1.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit-1.2.0.tgz_1515025456369_0.8515273337252438"},"directories":{}},"1.3.0":{"name":"p-limit","version":"1.3.0","description":"Run multiple promise-returning & async functions with limited concurrency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^1.0.0"},"devDependencies":{"ava":"*","delay":"^2.0.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","xo":"*"},"gitHead":"cf076d73844ebbfda8ae4e184fc436396998ecb2","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@1.3.0","_npmVersion":"6.1.0","_nodeVersion":"8.11.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-vvcXsLAJ9Dr5rQOPk7toZQZJApBl2K4J6dANSsEuh6QI41JYcsS/qhTGa9ErIUUgK3WNQoJYvylxvjqmiqEA9Q==","shasum":"b86bd5f0c25690911c7590fcbfc2010d54b3ccb8","tarball":"https://registry.npmjs.org/p-limit/-/p-limit-1.3.0.tgz","fileCount":4,"unpackedSize":3963,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbGAVjCRA9TVsSAnZWagAA8tgP/1ybyg51ZIGk4PPoB+Ku\nJom0mpGjv3UTxa6C6wUeakkszs9k2vCGCueUvOnNdVg7675D7MdUmRKE7P1+\nCrnJ0YeVkdfajWlWkEA9+nNMEONBDWvOtPYpXa/DYFV19XVxVTdmN/VSTIeQ\nJ+SEMV0R9s4LvLz4o4ua0HgdRVyDTrX3rf4HDJfWkHINF7/Vggr72XuKoB3/\nyciRX51Wn5fWEkMpbmXAq0K5QrI+nKWRZ7S1HMsW22AEaoUHnjUNfwn6sQah\nPLNpp00mi4QDQXoT9RGC51D3acVs4sUS9VJUiRtt4DvaVv6eJF4z3R2iZDlI\nhKQI2cItT8AS7Wf3gTHmeZKsAZ9WOjxBF+N6lVB1BBNiWHHqKbpiG8Hd6j01\nK6cOeN1l3dZw9an/tsHvB6DqZ09s3MSzZc48fRhYiJD11Doj1wwIGUAaY1ht\nNjodGrQGZD16aQXMSQxwC3VSoX+8PHKv6A+OHWEEBKHLuB+OTJ7L71Hp4ner\npfnZOxMiGtg1nNVd2nOdMaf7MAoRQsklUb0Zy1qvb6E/wcO/VuTU9nU4WZXw\nnV1FYtLowrp7ThA7zOWdCPgKPsSTfy+L6kfrMcseMdE8WO9FtdgjhSVWuxNo\n0YV9PwTxK5axwNrcJS/YFMLsUk7knkf7Y7xv0K4SMyXXFZr+ZouGnny8Vzj/\njd1T\r\n=Msum\r\n-----END PGP SIGNATURE-----\r\n"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_1.3.0_1528300898695_0.9429035390514915"}},"2.0.0":{"name":"p-limit","version":"2.0.0","description":"Run multiple promise-returning & async functions with limited concurrency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"*","delay":"^3.0.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","xo":"*"},"gitHead":"0eef70fffc6503a84d8a768b6efe42e227169dc6","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"8.11.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"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"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_2.0.0_1528998260071_0.8291032578012119"}}},"readme":"# p-limit [](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","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2018-08-16T00:55:43.436Z","created":"2016-10-21T07:59:41.638Z","1.0.0":"2016-10-21T07:59:41.638Z","1.1.0":"2016-11-21T06:59:47.875Z","1.2.0":"2018-01-04T00:24:17.334Z","1.3.0":"2018-06-06T16:01:38.768Z","2.0.0":"2018-06-14T17:44:20.143Z"},"homepage":"https://github.com/sindresorhus/p-limit#readme","keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"kah":true,"rocket0191":true,"yourtion":true,"zhenguo.zhao":true,"karuppiah7890":true},"_attachments":{},"_etag":"W/\"5af064aa57f92c8faecc27d3c93ca9c2\"","_lastModified":"Thu, 16 Aug 2018 00:55:44 GMT","_cached":true}