{"_id":"p-limit","_rev":"300957","name":"p-limit","description":"Run multiple promise-returning & async functions with limited concurrency","dist-tags":{"latest":"5.0.0"},"maintainers":[{"name":"sindresorhus","email":""}],"time":{"modified":"2024-02-02T07:13:12.000Z","created":"2016-10-21T07:59:41.638Z","5.0.0":"2023-11-01T06:31:04.353Z","4.0.0":"2021-08-12T23:58:23.464Z","3.1.0":"2020-11-25T07:42:37.364Z","3.0.2":"2020-07-12T13:39:53.636Z","3.0.1":"2020-06-06T16:21:37.806Z","3.0.0":"2020-06-06T11:53:03.481Z","2.3.0":"2020-04-05T15:40:45.137Z","2.2.2":"2020-01-01T18:42:31.824Z","2.2.1":"2019-08-18T18:52:19.615Z","2.2.0":"2019-03-02T19:21:13.574Z","2.1.0":"2018-12-25T14:16:18.049Z","2.0.0":"2018-06-14T17:44:20.143Z","1.3.0":"2018-06-06T16:01:38.768Z","1.2.0":"2018-01-04T00:24:17.334Z","1.1.0":"2016-11-21T06:59:47.875Z","1.0.0":"2016-10-21T07:59:41.638Z"},"users":{},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"versions":{"5.0.0":{"name":"p-limit","version":"5.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"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"imports":{"#async_hooks":{"node":"async_hooks","default":"./async-hooks-stub.js"}},"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"yocto-queue":"^1.0.0"},"devDependencies":{"ava":"^5.3.1","delay":"^6.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.1.0","tsd":"^0.29.0","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"f53bdb5f464ae112b2859e834fdebedc0745199b","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@5.0.0","_nodeVersion":"18.18.2","_npmVersion":"9.2.0","dist":{"shasum":"6946d5b7140b649b7a33a027d89b4c625b3a5985","size":3246,"noattachment":false,"key":"/p-limit/-/p-limit-5.0.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-5.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_5.0.0_1698820264163_0.08717723629406482"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-11-01T06:31:04.353Z","publish_time":1698820264353,"_source_registry_name":"default","_cnpm_publish_time":1698820264353},"4.0.0":{"name":"p-limit","version":"4.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"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"yocto-queue":"^1.0.0"},"devDependencies":{"ava":"^3.15.0","delay":"^5.0.0","in-range":"^3.0.0","random-int":"^3.0.0","time-span":"^5.0.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"38a6773e552d24f4c9eb2d79d57b6cff017c587d","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@4.0.0","_nodeVersion":"12.22.1","_npmVersion":"7.10.0","dist":{"shasum":"914af6544ed32bfa54670b061cafcbd04984b644","size":3284,"noattachment":false,"key":"/p-limit/-/p-limit-4.0.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_4.0.0_1628812703302_0.6491971469999389"},"_hasShrinkwrap":false,"publish_time":1628812703464,"_cnpm_publish_time":1628812703464,"_cnpmcore_publish_time":"2021-12-13T13:06:49.987Z"},"3.1.0":{"name":"p-limit","version":"3.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"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"yocto-queue":"^0.1.0"},"devDependencies":{"ava":"^2.4.0","delay":"^4.4.0","in-range":"^2.0.0","random-int":"^2.0.1","time-span":"^4.0.0","tsd":"^0.13.1","xo":"^0.35.0"},"gitHead":"e316fac4e7aeede98beeb87e3a7de4ffc3d8eebf","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@3.1.0","_nodeVersion":"14.15.1","_npmVersion":"6.14.9","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"e1daccbe78d0d1388ca18c64fea38e3e57e3706b","size":3265,"noattachment":false,"key":"/p-limit/-/p-limit-3.1.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-3.1.0.tgz"},"directories":{},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_3.1.0_1606290157244_0.5907879843343353"},"_hasShrinkwrap":false,"publish_time":1606290157364,"_cnpm_publish_time":1606290157364},"3.0.2":{"name":"p-limit","version":"3.0.2","description":"Run multiple promise-returning & async functions with limited concurrency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"^2.4.0","delay":"^4.1.0","in-range":"^2.0.0","random-int":"^2.0.1","time-span":"^4.0.0","tsd":"^0.11.0","xo":"^0.26.0"},"gitHead":"b702cc1aa737ae834b4deaf87a537812d8d5418f","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@3.0.2","_nodeVersion":"14.5.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1664e010af3cadc681baafd3e2a437be7b0fb5fe","size":3353,"noattachment":false,"key":"/p-limit/-/p-limit-3.0.2.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-3.0.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_3.0.2_1594561193541_0.8922591638953525"},"_hasShrinkwrap":false,"publish_time":1594561193636,"_cnpm_publish_time":1594561193636},"3.0.1":{"name":"p-limit","version":"3.0.1","description":"Run multiple promise-returning & async functions with limited concurrency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"^2.4.0","delay":"^4.1.0","in-range":"^2.0.0","random-int":"^2.0.1","time-span":"^4.0.0","tsd":"^0.11.0","xo":"^0.26.0"},"gitHead":"824edb836eedc9929ea383457cd82d8367f7322e","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@3.0.1","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"584784ac0722d1aed09f19f90ed2999af6ce2839","size":3357,"noattachment":false,"key":"/p-limit/-/p-limit-3.0.1.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-3.0.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_3.0.1_1591460497710_0.05351684556450653"},"_hasShrinkwrap":false,"publish_time":1591460497806,"_cnpm_publish_time":1591460497806},"3.0.0":{"name":"p-limit","version":"3.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"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"engines":{"node":">=10"},"scripts":{"test":"xo && ava && tsd"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"^2.4.0","delay":"^4.1.0","in-range":"^2.0.0","random-int":"^2.0.1","time-span":"^4.0.0","tsd":"^0.11.0","xo":"^0.26.0"},"gitHead":"0038c559658ad75445de4b3a8c6e0167129e813c","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@3.0.0","_nodeVersion":"14.4.0","_npmVersion":"6.14.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"8a9da09ee359017af6a3aa6b8ede13f5894224ec","size":3337,"noattachment":false,"key":"/p-limit/-/p-limit-3.0.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-3.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_3.0.0_1591444383325_0.9378092234424682"},"_hasShrinkwrap":false,"publish_time":1591444383481,"_cnpm_publish_time":1591444383481},"2.3.0":{"name":"p-limit","version":"2.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"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"^1.2.1","delay":"^4.1.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"a11f02bc5c04490b7c3de2663d866c211fb915ea","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@2.3.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"3dd33c647a214fdfffd835933eb086da0dc21db1","size":3140,"noattachment":false,"key":"/p-limit/-/p-limit-2.3.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-2.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_2.3.0_1586101245000_0.8128440121358671"},"_hasShrinkwrap":false,"publish_time":1586101245137,"_cnpm_publish_time":1586101245137},"2.2.2":{"name":"p-limit","version":"2.2.2","description":"Run multiple promise-returning & async functions with limited concurrency","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/p-limit.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"^1.2.1","delay":"^4.1.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"6d7a2253a33248572aa87a56bc4af9e3fe247232","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@2.2.2","_nodeVersion":"10.17.0","_npmVersion":"6.13.4","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"61279b67721f5287aa1c13a9a7fbbc48c9291b1e","size":2967,"noattachment":false,"key":"/p-limit/-/p-limit-2.2.2.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-2.2.2.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_2.2.2_1577904151691_0.7571350708733962"},"_hasShrinkwrap":false,"publish_time":1577904151824,"_cnpm_publish_time":1577904151824},"2.2.1":{"name":"p-limit","version":"2.2.1","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 && tsd-check"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"^1.2.1","delay":"^4.1.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"056c0f3674041b90ecfb69c808ec1b910eb1e993","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@2.2.1","_nodeVersion":"10.16.0","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"aa07a788cc3151c939b5131f63570f0dd2009537","size":2959,"noattachment":false,"key":"/p-limit/-/p-limit-2.2.1.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-2.2.1.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_2.2.1_1566154339491_0.7648657346726373"},"_hasShrinkwrap":false,"publish_time":1566154339615,"_cnpm_publish_time":1566154339615},"2.2.0":{"name":"p-limit","version":"2.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":">=6"},"scripts":{"test":"xo && ava && tsd-check"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"^1.2.1","delay":"^4.1.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","tsd-check":"^0.3.0","xo":"^0.24.0"},"gitHead":"0320e8b5e9b9ff66db20f98aa4cf235146768bcd","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@2.2.0","_nodeVersion":"10.15.1","_npmVersion":"6.8.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"417c9941e6027a9abcba5092dd2904e255b5fbc2","size":2707,"noattachment":false,"key":"/p-limit/-/p-limit-2.2.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-2.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_2.2.0_1551554473384_0.12635434710499815"},"_hasShrinkwrap":false,"publish_time":1551554473574,"_cnpm_publish_time":1551554473574},"2.1.0":{"name":"p-limit","version":"2.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":">=6"},"scripts":{"test":"xo && ava"},"keywords":["promise","limit","limited","concurrency","throttle","throat","rate","batch","ratelimit","task","queue","async","await","promises","bluebird"],"dependencies":{"p-try":"^2.0.0"},"devDependencies":{"ava":"^1.0.1","delay":"^4.1.0","in-range":"^1.0.0","random-int":"^1.0.0","time-span":"^2.0.0","xo":"^0.23.0"},"gitHead":"8517860c047c5fc485d92879bfc01952e1417d19","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"homepage":"https://github.com/sindresorhus/p-limit#readme","_id":"p-limit@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"11.5.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"1d5a0d20fb12707c758a655f6bbc4386b5930d68","size":2425,"noattachment":false,"key":"/p-limit/-/p-limit-2.1.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-2.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_2.1.0_1545747377882_0.09658731145738386"},"_hasShrinkwrap":false,"publish_time":1545747378049,"_cnpm_publish_time":1545747378049},"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":{"shasum":"e624ed54ee8c460a778b3c9f3670496ff8a57aec","size":2170,"noattachment":false,"key":"/p-limit/-/p-limit-2.0.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-2.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_2.0.0_1528998260071_0.8291032578012119"},"_hasShrinkwrap":false,"publish_time":1528998260143,"_cnpm_publish_time":1528998260143},"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":{"shasum":"b86bd5f0c25690911c7590fcbfc2010d54b3ccb8","size":2000,"noattachment":false,"key":"/p-limit/-/p-limit-1.3.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-1.3.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_1.3.0_1528300898695_0.9429035390514915"},"_hasShrinkwrap":false,"publish_time":1528300898768,"_cnpm_publish_time":1528300898768},"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":{"shasum":"0e92b6bedcb59f022c13d0f1949dc82d15909f1c","size":2024,"noattachment":false,"key":"/p-limit/-/p-limit-1.2.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-1.2.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit-1.2.0.tgz_1515025456369_0.8515273337252438"},"directories":{},"publish_time":1515025457334,"_cnpm_publish_time":1515025457334,"_hasShrinkwrap":false},"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","size":2031,"noattachment":false,"key":"/p-limit/-/p-limit-1.1.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-1.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/p-limit-1.1.0.tgz_1479711587647_0.4504568234551698"},"directories":{},"publish_time":1479711587875,"_cnpm_publish_time":1479711587875,"_hasShrinkwrap":false},"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","size":2028,"noattachment":false,"key":"/p-limit/-/p-limit-1.0.0.tgz","tarball":"http://name.csiicloud.com:7001/p-limit/download/p-limit-1.0.0.tgz"},"maintainers":[{"name":"sindresorhus","email":""}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/p-limit-1.0.0.tgz_1477036781404_0.05086738429963589"},"directories":{},"publish_time":1477036781638,"_cnpm_publish_time":1477036781638,"_hasShrinkwrap":false}},"readme":"# p-limit\n\n> Run multiple promise-returning & async functions with limited concurrency\n\n*Works in Node.js and browsers.*\n\n## Install\n\n```sh\nnpm install p-limit\n```\n\n## Usage\n\n```js\nimport pLimit from 'p-limit';\n\nconst limit = pLimit(1);\n\nconst input = [\n\tlimit(() => fetchSomething('foo')),\n\tlimit(() => fetchSomething('bar')),\n\tlimit(() => doSomething())\n];\n\n// Only one promise is run at once\nconst result = await Promise.all(input);\nconsole.log(result);\n```\n\n## API\n\n### pLimit(concurrency)\n\nReturns a `limit` function.\n\n#### concurrency\n\nType: `number`\\\nMinimum: `1`\\\nDefault: `Infinity`\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### limit.activeCount\n\nThe number of promises that are currently running.\n\n### limit.pendingCount\n\nThe number of promises that are waiting to run (i.e. their internal `fn` was not called yet).\n\n### limit.clearQueue()\n\nDiscard pending promises that are waiting to run.\n\nThis might be useful if you want to teardown the queue at the end of your program's lifecycle or discard any function calls referencing an intermediary state of your app.\n\nNote: This does not cancel promises that are already running.\n\n## FAQ\n\n### How is this different from the [`p-queue`](https://github.com/sindresorhus/p-queue) package?\n\nThis package is only about limiting the number of concurrent executions, while `p-queue` is a fully featured queue implementation with lots of different options, introspection, and ability to pause the queue.\n\n## Related\n\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","_attachments":{},"homepage":"https://github.com/sindresorhus/p-limit#readme","bugs":{"url":"https://github.com/sindresorhus/p-limit/issues"},"license":"MIT"}