{"_id":"async-sema","_rev":"370474","name":"async-sema","description":"Semaphore using `async` and `await`","dist-tags":{"latest":"3.1.1"},"maintainers":[{"name":"redacted-vercel","email":"a@vercel.com"},{"name":"williamli","email":"william@bbi.studio"},{"name":"goncy","email":"gonzalo.pozzo4@gmail.com"},{"name":"gkaragkiaouris","email":"gkaragkiaouris2@gmail.com"},{"name":"leo","email":"mindrun@icloud.com"},{"name":"chibicode","email":"shu@chibicode.com"},{"name":"ijjk","email":"jj@jjsweb.site"},{"name":"andybitz","email":"artzbitz@gmail.com"},{"name":"iamevilrabbit","email":"hello@evilrabb.it"},{"name":"joecohens","email":"joecohenr@gmail.com"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"styfle","email":"steven@ceriously.com"},{"name":"zeit-bot","email":"team@zeit.co"},{"name":"quietshu","email":"ds303077135@gmail.com"},{"name":"hankvercel","email":"hank@vercel.com"},{"name":"mglagola","email":"mark.glagola@gmail.com"},{"name":"javivelasco","email":"javier.velasco86@gmail.com"},{"name":"igorklopov","email":"igor@klopov.com"},{"name":"paco","email":"pvco.coursey@gmail.com"},{"name":"dav-is","email":"mail@connordav.is"},{"name":"timer","email":"timer150@gmail.com"},{"name":"lucleray","email":"luc.leray@gmail.com"},{"name":"leerobinson","email":"lrobinson2011@gmail.com"},{"name":"matheuss","email":"matheus.frndes@gmail.com"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"anatrajkovska","email":"ana.trajkovska2015@gmail.com"},{"name":"timneutkens","email":"tim@timneutkens.nl"},{"name":"elsigh","email":"lsimon@commoner.com"},{"name":"raunofreiberg","email":"freiberggg@gmail.com"},{"name":"cl3arglass","email":"haltaffer@gmail.com"},{"name":"samsisle","email":"samko9522@gmail.com"},{"name":"coetry","email":"allenhai03@gmail.com"},{"name":"chriswdmr","email":"github.wolle404@gmail.com"},{"name":"rizbizkits","email":"rizwana.akmal@hotmail.com"},{"name":"ernestd","email":"lapapelera@gmail.com"},{"name":"ismaelrumzan","email":"ismaelrumzan@gmail.com"},{"name":"jhoch","email":"jrshoch@gmail.com"},{"name":"mrmckeb","email":"mrmckeb.npm@outlook.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"creationix","email":"tim@creationix.com"},{"name":"aboodman","email":"aaron@aaronboodman.com"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"huozhi","email":"inbox@huozhi.im"},{"name":"aadityajshah","email":"aj@vercel.com"},{"name":"cmvnk","email":"christina@vercel.com"},{"name":"arv","email":"erik.arvidsson@gmail.com"},{"name":"lfades","email":"luisito453@gmail.com"},{"name":"paulogdm","email":"paulogdemitri@gmail.com"},{"name":"ktcarter","email":"ktcarter09@gmail.com"},{"name":"okbel","email":"curciobel@gmail.com"},{"name":"aspctub","email":"aspctub@gmail.com"},{"name":"padmaia","email":"dev@padmaia.rocks"},{"name":"msweeneydev","email":"mail@mcs.dev"},{"name":"delba","email":"delbabrown@gmail.com"},{"name":"catsaremlg","email":"joshuadgon@gmail.com"},{"name":"steventey","email":"stevensteel97@gmail.com"},{"name":"sokra","email":"tobias.koppers@googlemail.com"},{"name":"gsandhu","email":"gsandhu@csumb.edu"},{"name":"dbredvick","email":"dbredvick@gmail.com"},{"name":"kdy1","email":"kdy1@outlook.kr"},{"name":"olliv","email":"olli.vanhoja@gmail.com"}],"time":{"modified":"2024-06-18T10:51:03.000Z","created":"2017-07-28T21:33:36.430Z","3.1.1":"2021-08-17T14:08:12.703Z","3.1.0":"2019-12-20T21:12:13.749Z","3.0.1":"2019-08-23T16:36:34.288Z","3.0.0":"2019-02-25T05:26:13.186Z","2.2.0":"2019-02-22T16:45:56.688Z","2.1.4":"2018-10-05T18:36:42.969Z","2.1.3":"2018-09-24T06:19:00.714Z","2.1.2":"2018-07-20T21:26:24.289Z","2.1.1":"2018-06-13T14:19:57.398Z","2.1.0":"2018-05-17T14:53:24.059Z","2.0.0":"2018-03-18T21:23:02.737Z","1.4.1":"2018-01-21T21:25:31.215Z","1.4.0":"2018-01-20T09:10:00.108Z","1.3.0":"2018-01-19T16:21:23.602Z","1.2.0":"2017-09-29T08:43:58.262Z","1.1.0":"2017-08-10T08:02:24.523Z","1.0.2":"2017-08-10T07:50:27.274Z","1.0.1":"2017-07-29T20:21:19.553Z","1.0.0":"2017-07-28T21:33:36.430Z"},"users":{"cr8tiv":true},"author":{"name":"Olli Vanhoja"},"repository":{"type":"git","url":"git+https://github.com/vercel/async-sema.git"},"versions":{"3.1.1":{"name":"async-sema","version":"3.1.1","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/vercel/async-sema.git"},"author":{"name":"Olli Vanhoja"},"keywords":["semaphore","async","await"],"homepage":"https://github.com/vercel/async-sema","bugs":{"url":"https://github.com/vercel/async-sema/issues"},"license":"MIT","main":"lib/index.js","scripts":{"build":"tsc","lint:staged":"lint-staged","prepublishOnly":"yarn build","prettier":"prettier --write --single-quote './{src,test}/**/*.ts'","test":"jest"},"devDependencies":{"@types/jest":"27.0.1","@types/node":"16.6.1","jest":"27.0.6","lint-staged":"11.1.2","pre-commit":"1.2.2","prettier":"2.3.2","ts-jest":"27.0.4","typescript":"4.3.5"},"pre-commit":"lint:staged","lint-staged":{"*.{js,ts}":["prettier --write --single-quote","git add"]},"jest":{"preset":"ts-jest","verbose":false,"testURL":"http://localhost/"},"gitHead":"603842b82e68e24b76eb0e74dae66de1eda468b4","_id":"async-sema@3.1.1","_nodeVersion":"14.16.0","_npmVersion":"6.14.11","dist":{"integrity":"sha512-tLRNUXati5MFePdAk8dw7Qt7DpxPB60ofAgn8WRhW6a2rcimZnYBP9oxHiv0OHy+Wz7kPMG+t4LGdt31+4EmGg==","shasum":"e527c08758a0f8f6f9f15f799a173ff3c40ea808","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-3.1.1.tgz","fileCount":5,"unpackedSize":13495,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhG8LMCRA9TVsSAnZWagAAuM8P/jqOxINBOI56Q6xSMxAj\nQeSRZ4w1xIBR7E7aaygbDBNbWOKipMdOFMm04ohLnqyVpPO0K2eetGglioH+\nT947/O3ubpFCxVfMEQH1uU+lyrD2z4DTtzSGkMWZcmcVoCwRjC4fr9rtz9SK\n7XFnUbtZup9B51DKAlFL9qbZwMKerjLyy/WO/yXq4j+iHE+YrNCTF1k/7jQx\nXQUfOD9hblLxbAFg2JB0F0QwFT8VbJgei4LymJ/4FGogcxK0ljkfji6pKLi8\nimmFvBlLZsEegMfXgqOXo7rj6WwwotCjLqqw/aB2D2/mYwNu/SfRkV0M2Tyh\nyx6+inFcTMY43g4XYRhUoWJgNqrcsm2/m2317UAyN3q3/ei6qszVPu0YQJCp\n9dI7pg4/CTyWVfDGzaCxYihg3c/hwn4o22kZJ7MqyPmTIbMAwA6kU03PY+Gs\nd5MHMtFslTyeAV5WHqCIL5lJ2ixgaAKsS/4SQh6+bpHfWsoLUHckei0pkUYx\n0RoXwIRASXdiHQdpYLfZ1DmYL5MaD2Ovb5NrPNqG5zYbnLqEKJ3eBpSHwdun\nS5hKVqIPS080P/nLGbufLB+rkv9Xz0n3ovZzcQnj94QetyDhkMWKjdKs4/BZ\nyIr/rmKhQscYp/crlYP9M7o9D47uH1EqqpIBMleAcvstCMekqwzdga3X5u54\nQKIi\r\n=TQ7y\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCpaYxSiATdRIUIZH0hG9c6KlR3xUwU1y2FkE7Jld2vDgIgDQFba6QQ6QYCYfixua/H7wHcNMRleNPq2tUeHl68jOE="}],"size":5259,"noattachment":false,"key":"/async-sema/-/async-sema-3.1.1.tgz"},"_npmUser":{"name":"leerobinson","email":"lrobinson2011@gmail.com"},"directories":{},"maintainers":[{"name":"redacted-vercel","email":"a@vercel.com"},{"name":"williamli","email":"william@bbi.studio"},{"name":"goncy","email":"gonzalo.pozzo4@gmail.com"},{"name":"gkaragkiaouris","email":"gkaragkiaouris2@gmail.com"},{"name":"leo","email":"mindrun@icloud.com"},{"name":"chibicode","email":"shu@chibicode.com"},{"name":"ijjk","email":"jj@jjsweb.site"},{"name":"andybitz","email":"artzbitz@gmail.com"},{"name":"iamevilrabbit","email":"hello@evilrabb.it"},{"name":"joecohens","email":"joecohenr@gmail.com"},{"name":"tootallnate","email":"nathan@tootallnate.net"},{"name":"styfle","email":"steven@ceriously.com"},{"name":"zeit-bot","email":"team@zeit.co"},{"name":"quietshu","email":"ds303077135@gmail.com"},{"name":"hankvercel","email":"hank@vercel.com"},{"name":"mglagola","email":"mark.glagola@gmail.com"},{"name":"javivelasco","email":"javier.velasco86@gmail.com"},{"name":"igorklopov","email":"igor@klopov.com"},{"name":"paco","email":"pvco.coursey@gmail.com"},{"name":"dav-is","email":"mail@connordav.is"},{"name":"timer","email":"timer150@gmail.com"},{"name":"lucleray","email":"luc.leray@gmail.com"},{"name":"leerobinson","email":"lrobinson2011@gmail.com"},{"name":"matheuss","email":"matheus.frndes@gmail.com"},{"name":"nkzawa","email":"naoyuki.kanezawa@gmail.com"},{"name":"anatrajkovska","email":"ana.trajkovska2015@gmail.com"},{"name":"timneutkens","email":"tim@timneutkens.nl"},{"name":"elsigh","email":"lsimon@commoner.com"},{"name":"raunofreiberg","email":"freiberggg@gmail.com"},{"name":"cl3arglass","email":"haltaffer@gmail.com"},{"name":"samsisle","email":"samko9522@gmail.com"},{"name":"coetry","email":"allenhai03@gmail.com"},{"name":"chriswdmr","email":"github.wolle404@gmail.com"},{"name":"rizbizkits","email":"rizwana.akmal@hotmail.com"},{"name":"ernestd","email":"lapapelera@gmail.com"},{"name":"ismaelrumzan","email":"ismaelrumzan@gmail.com"},{"name":"jhoch","email":"jrshoch@gmail.com"},{"name":"mrmckeb","email":"mrmckeb.npm@outlook.com"},{"name":"kuvos","email":"npm-public@qfox.nl"},{"name":"creationix","email":"tim@creationix.com"},{"name":"aboodman","email":"aaron@aaronboodman.com"},{"name":"rauchg","email":"rauchg@gmail.com"},{"name":"huozhi","email":"inbox@huozhi.im"},{"name":"aadityajshah","email":"aj@vercel.com"},{"name":"cmvnk","email":"christina@vercel.com"},{"name":"arv","email":"erik.arvidsson@gmail.com"},{"name":"lfades","email":"luisito453@gmail.com"},{"name":"paulogdm","email":"paulogdemitri@gmail.com"},{"name":"ktcarter","email":"ktcarter09@gmail.com"},{"name":"okbel","email":"curciobel@gmail.com"},{"name":"aspctub","email":"aspctub@gmail.com"},{"name":"padmaia","email":"dev@padmaia.rocks"},{"name":"msweeneydev","email":"mail@mcs.dev"},{"name":"delba","email":"delbabrown@gmail.com"},{"name":"catsaremlg","email":"joshuadgon@gmail.com"},{"name":"steventey","email":"stevensteel97@gmail.com"},{"name":"sokra","email":"tobias.koppers@googlemail.com"},{"name":"gsandhu","email":"gsandhu@csumb.edu"},{"name":"dbredvick","email":"dbredvick@gmail.com"},{"name":"kdy1","email":"kdy1@outlook.kr"},{"name":"olliv","email":"olli.vanhoja@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_3.1.1_1629209292561_0.8377035941728019"},"_hasShrinkwrap":false,"publish_time":1629209292703,"_cnpm_publish_time":1629209292703},"3.1.0":{"name":"async-sema","version":"3.1.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"author":{"name":"Olli Vanhoja"},"keywords":["semaphore","async","await"],"homepage":"https://github.com/zeit/async-sema","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"license":"MIT","main":"lib/index.js","scripts":{"build":"tsc","lint:staged":"lint-staged","prepublishOnly":"yarn build","prettier":"prettier --write --single-quote './{src,test}/**/*.ts'","test":"jest"},"devDependencies":{"@types/jest":"24.0.18","@types/node":"12.7.5","jest":"24.9.0","lint-staged":"9.2.5","pre-commit":"1.2.2","prettier":"1.18.2","ts-jest":"24.1.0","typescript":"3.6.3"},"pre-commit":"lint:staged","lint-staged":{"*.{js,ts}":["prettier --write --single-quote","git add"]},"jest":{"preset":"ts-jest","verbose":false,"testURL":"http://localhost/"},"gitHead":"0c9d33702a31d8a5498c5a4183a099be3917de5e","_id":"async-sema@3.1.0","_nodeVersion":"12.11.1","_npmVersion":"6.11.3","dist":{"integrity":"sha512-+JpRq3r0zjpRLDruS6q/nC4V5tzsaiu07521677Mdi5i+AkaU/aNJH38rYHJVQ4zvz+SSkjgc8FUI7qIZrR+3g==","shasum":"3a813beb261e4cc58b19213916a48e931e21d21e","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-3.1.0.tgz","fileCount":5,"unpackedSize":13523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJd/TkuCRA9TVsSAnZWagAAzXUP/2j+7di1iSVVjnw6AX8i\nqfI5AoaHs8LY/GGsSbMCkYnIjqSBKr8BBJi5w3IlAcMI6TNjOkVtSG7mSU9h\nUoJcyrmWcgFs+5Si0N1X0tYW1Iak+hINFrjHhXEFh2teCKLygSlz/y9AbblK\ng5LJoRrXcthwl2+/wF+CTvTjmiHBNs3rC1Urr0BITQCe7p1eUx2SZ6K2soOh\nLIOc5AKwSe4Kd0jDq9XObcoRTSSPcDiIX7aTexasroBZyfM5NgjDHLvGmDTv\n+ILujAdS3UlQRiSY6SUeQfKH6J0apkpghuSLTBmoQm/5ohrggL++wDUrsuJT\nVu6us4UkQOSQQhDa6ur9kQinXhanBQ/HyHlW8izInZ60qa27QLDaBBvT5KZl\n6FBBsYh5sdkAmzi/meXDdmjNcZx/LK7OuedYsTIPrlebRg/oe/zNicjnIZTP\nHCSe/YiFAGI9WzEQ9a4MMKVfP2l7SgAgvaPeniyavA35oVxvdBswBFOutCoG\nMWL+M8QAcm71tCyRIP3pDsNLpOpAXTZ6MCx0rnCIrObtIWtCYx5Fp3yTZTq0\nwcWbQxnAes/JwaoO6YUHeIQHvmGM4QBrKnDIJUMc66zPHcP6ADT+eStMTQcx\nK+2ArMDrUcXaoVykR4nU8ka8U4WPGPJSFT4eWnu8ySbNcrmUj4mQqHfTTWsS\nn+ur\r\n=1lUi\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFC/WoITbvog7BP4wA+7x2SkqXL9PaOE6GDZ9NKPylTgIhAJsza7sHZKXCFx7NDNr0VoFiKadnFtm7SHJStNYnObhv"}],"size":5294,"noattachment":false,"key":"/async-sema/-/async-sema-3.1.0.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"_npmUser":{"name":"olliv","email":"olli.vanhoja@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_3.1.0_1576876333664_0.4688474746532174"},"_hasShrinkwrap":false,"publish_time":1576876333749,"_cnpm_publish_time":1576876333749},"3.0.1":{"name":"async-sema","version":"3.0.1","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"author":{"name":"Olli Vanhoja"},"keywords":["semaphore","async","await"],"homepage":"https://github.com/zeit/async-sema","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"license":"MIT","main":"lib/index.js","scripts":{"build":"tsc","lint:staged":"lint-staged","prepublishOnly":"yarn build","prettier":"prettier --write --single-quote './{src,test}/**/*.ts'","test":"jest"},"devDependencies":{"@types/jest":"24.0.4","@types/node":"11.9.3","jest":"24.1.0","lint-staged":"8.1.3","pre-commit":"1.2.2","prettier":"1.16.4","ts-jest":"24.0.2","typescript":"3.3.3"},"pre-commit":"lint:staged","lint-staged":{"*.{js,ts}":["prettier --write --single-quote","git add"]},"jest":{"preset":"ts-jest","verbose":false,"testURL":"http://localhost/"},"gitHead":"e1e2bb535207312b71ac0f916a5335d700ffd45e","_id":"async-sema@3.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.15.1","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-fKT2riE8EHAvJEfLJXZiATQWqZttjx1+tfgnVshCDrH8vlw4YC8aECe0B8MU184g+aVRFVgmfxFlKZKaozSrNw==","shasum":"404225197ea43e3be91ac7d711fb7088f2469c79","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-3.0.1.tgz","fileCount":5,"unpackedSize":13209,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdYBYSCRA9TVsSAnZWagAAwugQAJVbcOzqj9eTWyG5+1db\nPzY82FHx0jGxtYbudXemaYYkUubyN6q2kJ1Rtt2QaR3qkHDLMKCDhZasS/ow\npZcAG2VriPp/S23KxTrOYY+rDii1/sfG6r7Egw288hVD2DuQk6NwQEbAKqAN\nECVd7c+ic8txkxVLvvNalUHD8T4Wii/X+fR1F3M8e5PyBggXp1mTaPVXQzuk\nQdxQVJfpjBDvWyGA6SLFOEt0sd2HlXwKdGVGwcnhmE4+iPwIkWkZwJUbWjfC\nmQAkx8tLFRRgG1ASP20tseD5mkddIMGpd1glERyejuhe0ILd1wkG0xk39RI2\nwSL1OcwIBgB6e6aEYRL4PNTYG0nsuX8lUWdNwbGZQx+MuV1rDM7EGXMbTQ9d\n3u0FfuT4QOLjf0V35gc56BImAbALadoZIVxHg3ZHYqo/CYrbq4a2+4tVP6GP\nVUe1Wxq5hT/4tZhi5cjeNm6AVvadjKSE0szOZdRR6ILPZ7MyC7Uqg2f8B7Az\ngXfTuwQXAnjFdlKrgoNkUVAw3qK+wc0UhjsbgO9rRSMcBo+PzhCoLtfh8ngY\nzeqD8fMsVUSDZ6fEsZBwAnBA2O3LZojZ8vaRmyvXGviY1mESbs+HNcVHyeiw\nTZ9wX5Gck5B9ndwuVCWBk3W/CieyzPmzzWfZchlgkh7fRLTE+fVJWny9srV5\nRUZS\r\n=9hNp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC8rjBKelCDT5E4FBMQ34/MzBi9bN8vDxr+eLblrnTX4QIhANyp0VyejdZ+bWj77VeBkkarEDbjaEe8mncU3fH/p0k6"}],"size":5182,"noattachment":false,"key":"/async-sema/-/async-sema-3.0.1.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_3.0.1_1566578194133_0.028991269792072005"},"_hasShrinkwrap":false,"publish_time":1566578194288,"_cnpm_publish_time":1566578194288},"3.0.0":{"name":"async-sema","version":"3.0.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"author":{"name":"Olli Vanhoja"},"keywords":["semaphore","async","await"],"homepage":"https://github.com/zeit/async-sema","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"license":"MIT","main":"lib/index.js","scripts":{"build":"tsc","lint:staged":"lint-staged","prepublishOnly":"yarn build","prettier":"prettier --write --single-quote './{src,test}/**/*.ts'","test":"jest"},"devDependencies":{"@types/jest":"24.0.4","@types/node":"11.9.3","jest":"24.1.0","lint-staged":"8.1.3","pre-commit":"1.2.2","prettier":"1.16.4","ts-jest":"23.10.5","typescript":"3.3.3"},"pre-commit":"lint:staged","lint-staged":{"*.{js,ts}":["prettier --write --single-quote","git add"]},"jest":{"preset":"ts-jest","verbose":false,"testURL":"http://localhost/"},"gitHead":"0b90cb8577cc8cd6b67b2c65816e1488c35360d0","_id":"async-sema@3.0.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-zyCMBDl4m71feawrxYcVbHxv/UUkqm4nKJiLu3+l9lfiQha6jQ/9dxhrXLnzzBXVFqCTDwiUkZOz9XFbdEGQsg==","shasum":"9e22d6783f0ab66a1cf330e21a905e39b3b3a975","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-3.0.0.tgz","fileCount":5,"unpackedSize":13211,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcc3x1CRA9TVsSAnZWagAA5pMP+wYUsOjq7AijPAqz637g\n7Me75SVVC3iEVxBnjTsQKKtwQoOl7Z0TMgKGJ3zBBu/8Be4ox7GR/GJ7KbyC\nNocTnZWwB7xlaDqGXEa1EgLGsbK3K6lUGsoVe8wNQG+zzW3I4aXHMX+Yvluk\nr3o2bJEdG7SSSMLokbV+zQW7bap/3BST6WijaZgnyuS0vVHfaZXjf5N6tkZL\nlYSxeNEGdnNGhNlv2Oi0fEssPTwYVVy7XlDtWxH2cKra0YThOQew68YBQylD\nWVlFhV6bUKIzGS3iekpD0oWS5u1cbeDO1qwmFmAlapndZ0ycwJOPrS3O9MQg\n92uSDYZYRgLzmM06VYqcQ0dHnxLjBTh8PvzD6q8hBIAT0nRcqkFtJqC1bZ0z\nPbhrDuxgtdMiLPQg2dD/GLLk/gT+4nrfKo6U3DuJyfB9fNPptXI6lg9e+OE/\n0WeBvDItrRRBiYlHaBg5sILX8QG5AdTXEW+9sKsMMum48vm9dCsPkehSZXG5\nrJgTH+T+U02M+rW2vqWbm/9e87QmQ7eBwsnG3F++luol1QKAocZEWe4z0R2U\ngl/9Rl1oUVGRufT9Oj6vWgwG9pt653Bos6JCUOCMHGo75BqcVr2IqVjHdp34\n0018sAODJeKPPRMkySVLFW7nLJccONNWmw5DKp6sTgOdh3V8SKymOGiKuSbD\npLxB\r\n=70ll\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDmte2bSTtghvcdACE+WX+pl/5eF773Mx2MSh/t1wpsgwIgEZHjP2QByjzfWP2C8ontY8zs2CKPzKRmD1HguCyeW5A="}],"size":5184,"noattachment":false,"key":"/async-sema/-/async-sema-3.0.0.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_3.0.0_1551072372994_0.08934238780986647"},"_hasShrinkwrap":false,"publish_time":1551072373186,"_cnpm_publish_time":1551072373186},"2.2.0":{"name":"async-sema","version":"2.2.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"Olli Vanhoja"},"keywords":["semaphore","async","await"],"homepage":"https://github.com/zeit/async-sema","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"gitHead":"5d66867b5eb9fff6c7a8b97ec44391666605168f","_id":"async-sema@2.2.0","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-bI/JChXscebgVmAwTk+EQF4LIr4Hy6W5+B2AG1I9CmkfABmFEYyRrJGutfc816/Hd6LRzHFxpjGqZ/idwhJpRg==","shasum":"b0de2bb11a2560d369aca975d24650cc05304979","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-2.2.0.tgz","fileCount":6,"unpackedSize":12304,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJccCdFCRA9TVsSAnZWagAARq8QAJbnriVjD+iv7kg4gO1o\ne/qzD9RYGxcI5uK/tZlZ70q2DNiwZbIZlMTpdMDeZhfieAmurr1oKCXq5DFJ\nol3on+YZkThPBtomdIGijwUnGMIKYSZpuD6YqsLRQiyUora7qoIYG3KWDls+\n848g/HmeaNhw9akTiynAqhtbKVMFzsTqKMeEG0vSKTYAfX8b7I1yJtYZNicB\nS1WtXUxkAkISPz/4kxCSqHp0yBIJSVZs9NroJxYlCT3Op3mv1KzQFgQ+l8aQ\nPe+muVc4ecfLi3A/k5TQ2Vw0GLGn75dvWRS0fW8ghg28Pg33CLevKAMLPpZ7\ngWfi6bu/PAlpHITbeafh21smupiNKCtQZB9bicIZZdFv1Qh1Q7Yu/y/GC5ko\nBFBvIDUTahFUX5+/0H23/Wme30P76Ii3NjTQ1IKDYZSlpsnuQ4uUGyJjmZEi\np0mkeonQ2zcUqROQuPg/Zqn/mDnrIKfTXMNGfYVMAOdz0XrhwkGTcDv1Jq/n\nUSwePxB2RDGiZ8a+kdWKT2y5KYdZ3u5sl8HYGuL+BDxyhjtQXseQLDwMvv9c\ncrE8DoAvyQGNV2ZnfK4Ar0AxLXCqbXndCxCzAL2qpynwlMlNSC26XGPzTQtl\nU1YSf2JjvqPdYrtGwqbUIyp7Tv18iUu1djye2GsWCuvC0iYiAb8gbvkwfrtb\nN6zR\r\n=HdNe\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPoWb/VGYAcRZ7++3KgEQkc4VTo7f46xpGNyRrbMJ6JAiB8+lb2knhxfI81IRn+hBz8lLqKN12ZwOIgA7QMERH3lQ=="}],"size":4789,"noattachment":false,"key":"/async-sema/-/async-sema-2.2.0.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_2.2.0_1550853956533_0.9973179729824613"},"_hasShrinkwrap":false,"publish_time":1550853956688,"_cnpm_publish_time":1550853956688},"2.1.4":{"name":"async-sema","version":"2.1.4","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"Olli Vanhoja"},"keywords":["semaphore","async","await"],"homepage":"https://github.com/zeit/async-sema","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"2de48bdee0217996f5b28fef2b005c35ccdeaed5","_id":"async-sema@2.1.4","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-NKdMgXT9RfmkscybzytzK/6uGF4cL8Mt3PSeO9QHXYKs3oFWkUwIepnAkzLWkqttOdDDFoED3c8kriS8RzP+ow==","shasum":"3f5aa091d0a763354045ee899a5d17ffb69251af","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-2.1.4.tgz","fileCount":6,"unpackedSize":8721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbt687CRA9TVsSAnZWagAATmcP/i/dPMlDQmSMOyYkSZd5\nQJT1zxgyFeryTrsawXXQmPNoCZwpII5FniOvI9BhyVhjFYMhXZgFODkg7RJ1\nFmYNjfrfNuvAEs+Bji7xE32B5I3qlm+diA5wwue2Nji89ZO6lwDAO1tT+Lv4\nQXG0UAueG3KyxxlivL3U2axwyYQO3nW+xOoWGBYMEqfEmKGvn9sRlGntYSMF\n3DwFLUvQgB3YPCTW31/V4UjDTX9SiWsC9KPt5naT27VWG8ub7QXqGgyayDzE\nHV8BsPen9p6k/z+vkRb4zZCeocHixRjE79dgxbjluXOfitoYCosLfmE33oFm\noppH59vVuzWxiCTqyx8jcp4qbgbprqyuZI5KwIm56yhX4ex7vmLtbsKU1W3l\nu+LR+5u9TJQev2ZGwge5Wzb5ErSKlTCWZnkbzyhj6v2ul8YYttrWlh3lD6mP\nacgWNLln5C63ys3jvzV0rWAyMPhv8wmIuh7gec0UEJkbfr4sKyURe4YKuqY6\ngD3BF1xQ5cxaUTg2sr/G+N2XGRhJqiTHZ5zWMNdkjAt32Xb3G4sc4dC+RA54\nE6d57xCSVpH9P0k/lw6yxgjiiGL9VKhsoe7M7OzGLrArXF51+zpZ9u7jgRio\nkzSfomQOEGglJ2qYvoS9hV23X9FpVvKRi+Ur4r+kdIZJ3HjskNBkywKL1Pwh\nhT46\r\n=fQ+k\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICWWRob2KYzALXmV93bmLBnE6Lp6yMXEopuzmET4mlbMAiAs8VALtSFacg+xhSE83NFeXpcluLPx4dcIFnuVzSu4gg=="}],"size":3914,"noattachment":false,"key":"/async-sema/-/async-sema-2.1.4.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_2.1.4_1538764602798_0.18128682704259425"},"_hasShrinkwrap":false,"publish_time":1538764602969,"_cnpm_publish_time":1538764602969},"2.1.3":{"name":"async-sema","version":"2.1.3","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"Olli Vanhoja"},"keywords":["semaphore","async","await"],"homepage":"https://github.com/zeit/async-sema","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"f9cccfafa80e8c3b17cb20ff61d95cd4d47e2cc4","_id":"async-sema@2.1.3","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-dxzxieqHjWHtY/enPYb9jWdx8++Etr6qwMFUSu9etbIR2NquUKN1exrHU9OOIVVDgHl/ntfIF9+/raRR1JLilA==","shasum":"33cf8d2d5b7530ad99c48931f2e71ab686542745","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-2.1.3.tgz","fileCount":6,"unpackedSize":6721,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbqIHVCRA9TVsSAnZWagAAtNYP/1osu8vdh2t1LI69jbCg\nViKOuVApSf0RT9rhJ537vk/1HroomNyryqwo+3ncBPgHRM3GuE7mL/hy5mPq\nJPFEkEGsam5hqrBF7XdZgK8k4dBipuJyLw7WtSGM0cP92Kdb9Yf1jKK8hcYR\nbXnv3cnS/Dw6rcL/bmjwXl/ENV3Zbw70PwmvGwfmNObAFKKQO5XkNsalvNIe\n7iDZDSh0xRqxbF9kvU93JRYU56Lxe+I0mUIKaFN49VntzPGWfRVWgdvh+gRX\nt55zpi6pOH7a1KvytMLPOIi4t1o+zKZdwI0NYyj3DHuoAxgP47+cTVKteqqU\nJmjrnjNjvH1T+BaEDO4zIwRM3tJfcY8WiRp9FMuvCn1PBJCy/pOTriGOQXaN\neu0ZJCW1oHwZyGhlvFh8UGvuGcw2638qtNIPFe4vs/dI/MNcYLWKX7/810LD\ntVqFDvmwwIKJc+d8yt2BQifmnN1EQpwNKX/emNf1jXPvqwfuMhptFZJTW5ml\nhGlx+FHiOJkGmxJdjHW1MbCvz+ObkvtcH//BMeZvH9+mJA1McEo8rflhWqI8\n01PborRdf+qFYJdQ75VEeiZ1GF1yoT+2rvSc6skiUoBzM+qZEmwC0CZ7u5N1\nwc1vIi2MPj/aoPMUi92XH8gDqyFPIId4ewsteRaa19pPzkAWPaJdpLgR1tcL\nwMp4\r\n=hzJ+\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCU3Zj/QbrcDh5DElbhtO9dxvcipqWFnpOiSrlwBWSgWAIgO9B6PcZ6xtCAWbkjUWgX9DL1xLbr6lJ8ClFjUq9u7JE="}],"size":3177,"noattachment":false,"key":"/async-sema/-/async-sema-2.1.3.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_2.1.3_1537769940569_0.13125123063547917"},"_hasShrinkwrap":false,"publish_time":1537769940714,"_cnpm_publish_time":1537769940714},"2.1.2":{"name":"async-sema","version":"2.1.2","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"Olli Vanhoja"},"keywords":["semaphore","async","await"],"homepage":"https://github.com/zeit/async-sema","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"files":["index.js","rate-limit.js","index.d.ts"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"2ab62c51640ceb7e0d1d52b0783cf56b408165a2","_id":"async-sema@2.1.2","_npmVersion":"6.1.0","_nodeVersion":"10.3.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-7Wxs4QBLL9XklTVaRKH16ws/YJBZ7wouqnSu84jILDqZZObsrhDfsVELhQE7U53b2qkFtsAX5ED1ZMvrWzv1Yg==","shasum":"6cb6be7027352aa637cd5a36273084d53dbb9a73","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-2.1.2.tgz","fileCount":6,"unpackedSize":6739,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbUlOACRA9TVsSAnZWagAAxysP/Ryt+5dYiaLvgWGDroHS\nKQ93jbV+nIlREDnaqukvuJgbN3vspqNMJextBM6jOk/HWagqg009F9XWGnYo\nzIZzbuzuBT0YzTvCOm24qu7hGb6mmay1QsgZUFVHy1/4Q9wKoLEg862HCtmW\nxfBAqgKufhZl9mIt6858DS/iTnPTp/I0qcfOXTDZrlLhA2OlB4OvEDLYHlD7\nBXw/ti9jUN2qGUSvWl0qQkOrzqRjbvWXGZfpjXa6vciE6QMSHgfQ9CjcLcip\n1tguPYfiGT2FfUQNiOpHfANuBTvBif9V84sCQ1OwZ9Aau1Pn/0jfYyW6zpO9\niOU8VDTaqFyh0oR7mp3HC+2o+xNOKd9nix/z6/fBRf3wD7fOs1C1naOInaDW\nm95jM/1Lzde1nMLDz2TXOKq1CITcVPS22UzvDc4821jJL3BE+4cDRmiYqrRU\nexTP0QK9AOd14Xl3ahNGYJYOk79qk0Kq4MARmqdku5m+Ofd6h1lDY8fgAsAY\nmeN6CFQjmvnTveVSFiCmqTSrgIZm+EaiqcVUFmtyOOxenqXXUbywbAZI7+Wk\nQlLAPk5TIG0EPbusi4COuPSHwi66gPgR7gJCCe9oYFtZRr0XspZSAXpFZGSM\nAl6Q/5cPJBdj5D0PYTkJto6WN35AuFlMCpN98FsC7+vrXYXEHiFJuDHBjvfy\naudk\r\n=GpVR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICL/vv1Qi//5fo80pQXviGWskg5p+GVIjbfWKZMTwLv7AiEA32AX82Io+L7YBwmNWc1BF+17f+yCsVZ77pFXRn14v/I="}],"size":3172,"noattachment":false,"key":"/async-sema/-/async-sema-2.1.2.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_2.1.2_1532121984241_0.20115591313571746"},"_hasShrinkwrap":false,"publish_time":1532121984289,"_cnpm_publish_time":1532121984289},"2.1.1":{"name":"async-sema","version":"2.1.1","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js","rate-limit.js","index.d.ts"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"b279c180d5e16aca4a3f10194302851aa62d21e0","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@2.1.1","_npmVersion":"6.0.0","_nodeVersion":"9.0.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-Jn4Ge6qNwnJ+BZIdN7Z4CYxCzHsulVA8AVDnXE/Ajq8FqeDWwbKXnkFyi3sl5yNxDrq3/JLj7hSqNGCPCDCM4w==","shasum":"875e38dc896e737a01cb65598dd696707dd8d0dd","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-2.1.1.tgz","fileCount":6,"unpackedSize":6434,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbISgOCRA9TVsSAnZWagAANoMP+wTzQ7Z807IvABj/InJk\nuFmYdI3GrBB9byYey3RantZT5jBT21RFC9dXcIkVD5u8MXsRNJqHlvTdKBia\noSaV4a5PHLBXNGDCPZ6o+pYzjLzaMhIOjeZ31i7wi21pa4la9Xn8hoisFVzr\n+fM7RG8Ut6yzFyxoZRkps5UoCR96xgd+zPksGQJfySJM4ANsKLtnRYaum2Oe\nWU9vAf9i1Ug2tPRAzGaCSE5c451erA2uLz3Za7FIVjS+NjAhSabZYUheXB1o\nUeINMVw+L41uDjGzF9LIHFuNadIroU9dUYP5HRFVSAPuFzOqAmARMhwM0YRe\ni+gUZXWKR7k2yrCX+FKNS53MQZ4+vCbtGzYENbnxXCUoyVZT6pfUNPQrf+/7\nihyaiqRV3uAfmwn0nW4KntMcHu9jH7IgNfKW4jE6h01JzoPCgGuzta/+7squ\nRg4OEFvjKnYYmqQbtydISCEJU4daw3lMml7tu/keJddvHXkKX2Aa1O0tbKKP\n23kpe3lA2UjNE0Kf09u4vAUn+diZyOy628i0vNgd5mVOElfgPcyJrrvZhgME\nfkXcDIXPKxsjGlaZMs0hfvdpSaakFTk+V/6hzdwPD8kKI/DwNBLqYptGfGmn\nofLDTfDCIccLLFFE/BCWcrXyuSDlYqHrM//W0gh8PkBHKRHtxamsI+PwxJr9\n7oKq\r\n=Cmqj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCoT+K6nIjagLfYCu7jhsmzh+x2Sr6P8et28iC2+uA6GQIhAJI9Rg95CBgpqmDOCGqRWXua+n7tLjqMJwc13DLz+/R3"}],"size":3072,"noattachment":false,"key":"/async-sema/-/async-sema-2.1.1.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_2.1.1_1528899597317_0.18414938005670223"},"_hasShrinkwrap":false,"publish_time":1528899597398,"_cnpm_publish_time":1528899597398},"2.1.0":{"name":"async-sema","version":"2.1.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js","rate-limit.js","index.d.ts"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"32ab8b3cf984c66479f2cefdd347c2d991594d7c","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@2.1.0","_npmVersion":"6.0.0","_nodeVersion":"9.0.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-QC4OnzRT/KTUcnkaJZ5/wNfZXbm/m1KgUGrzlnjhEcA9v98CEfwnTHQHSnF9T6pWDkKmA03l8SspIhoRwuIb5A==","shasum":"99bcc2f152187ce83ae68e62be761d48ac602c46","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-2.1.0.tgz","fileCount":6,"unpackedSize":6010,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa/ZdlCRA9TVsSAnZWagAAA5oP/3PJktfKEnXLR/p3YKa1\nfZh4YPeunUCli64m7EETagtunVUtypJhxAY8LF4A8QtPR2teunOw+4/F+qB5\nk3oz3nDF5OxNQZfdwziuKqz5uWVhL5hlj5IjvQ9k5vKaugNeCqaf57saRSes\nDNLVR+/9sY/v04YocfpKqXoWGCYuJJWpj4D+QBhEErJNPi5JsbcJyOqgI9jg\n89G2ZdT7Z7YqNDS/6CjO7vlUqYiuUmHw7tKC1/KfWdHTZ+opOTHpf+cVcX5/\n+zlwlxRpRAvWcQLhogUOcys9Azple50wILr6zzemWWeJ+vIBsHAvwNThfvKs\ncxU1pRProJcUNX90uC6dMKbiJVwhzbjKxKQt+WZWLa1Ixol9TJVec6X0R77m\np9ruSXAvYl/74nEtsKzgAwGm7k1IosgNoN9XOoZWN9fWQPVBc2OYIfIP7x1h\n1a6PM4Hw21cROKKo6PvGPkyKru64rGk4kLqljaZv2vUuVHWshUG5e2AAOIlp\nrxgvF4VXxLIctLUxaiJtqrHVgusgCWngdgJ3MIBfjexHqEl5T8cT/eU24C8w\nSdgV3nrN5GDE/A7juD65eDQoGj324pU8p6xJhZbicOLAtZSGbbsfCZJHRrft\n5eWAuCtVoCHJ6TcPS3ZfFZcDRpDP+aWQ8tSOrbdXUhaN0RRZZ26LBtBzxOQF\nqLxp\r\n=j+g3\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD0qOqz02B19WuerBCf4pJTfUa1NiVdToih6Ma4PdAGwIgV2C/60vim6Pz48cH0MMUPF++Vniwiit564Lk4AR7Xc0="}],"size":2893,"noattachment":false,"key":"/async-sema/-/async-sema-2.1.0.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_2.1.0_1526568803884_0.3899508767149902"},"_hasShrinkwrap":false,"publish_time":1526568804059,"_cnpm_publish_time":1526568804059},"2.0.0":{"name":"async-sema","version":"2.0.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js","rate-limit.js","index.d.ts"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"d030502830bf17bc3e1948fafe16305c7b8d2a94","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@2.0.0","_npmVersion":"5.6.0","_nodeVersion":"9.8.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-EAFSQzkgprPn9ltZhTp7+yqIREHg0wAAi3Dm8JqlU+HZor1ZHQYzOHvKqx3CdgsfpMVFjiCX6DrPlek2eSPfCw==","shasum":"f94e308c04e947eff015e4bf75cd96c8c153d1aa","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-2.0.0.tgz","fileCount":6,"unpackedSize":5869,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCm24FA3P/sAW15apW9e5oMpQzkFFozb1VLhJexaZJqZgIhAOHg3wH8zpQyg9y01XPotxh6tCxP5HloB8FYUlZK+MgJ"}],"size":2852,"noattachment":false,"key":"/async-sema/-/async-sema-2.0.0.tgz"},"maintainers":[{"email":"leo@zeit.co","name":"leo"},{"email":"olli@zeit.co","name":"olliv"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema_2.0.0_1521408182686_0.2642288998203217"},"_hasShrinkwrap":false,"publish_time":1521408182737,"_cnpm_publish_time":1521408182737},"1.4.1":{"name":"async-sema","version":"1.4.1","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js","rate-limit.js","index.d.ts"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"8cf24acdeac3a5667df49699e82325b0e7adc0b1","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@1.4.1","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-j8bpP1BWRUTIwKgR8sE5Gr7BHPrBJ4Ar30QwFlyxSBM0fApAY79tK7ca+PIVrjWtVLSKOqx7+Zf3hTs+j0GdAA==","shasum":"6b01d56b4bfbd5364a2cada0a6569516d57a5cbb","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-1.4.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA3vN/NMo5Mpv+EzIpOC65llEl/kznRyE3xWWNMbEW0oAiEAjmZdD6bpR3caJ+18UWd9ffnWBPU8fEiCZWNvur1geuM="}],"size":2760,"noattachment":false,"key":"/async-sema/-/async-sema-1.4.1.tgz"},"maintainers":[{"email":"olli@zeit.co","name":"olliv"},{"email":"leo@zeit.co","name":"leo"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema-1.4.1.tgz_1516569931101_0.4665207453072071"},"directories":{},"publish_time":1516569931215,"_cnpm_publish_time":1516569931215},"1.4.0":{"name":"async-sema","version":"1.4.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","types":"index.d.ts","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js","rate-limit.js"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"ada1ad5278aedc32db026474688704e195d26964","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@1.4.0","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-I5d9RdoHaukE1GyQ9AeKQL661yarjDviK+7frY/Ewkplrv8dFu4kpuftoLGP1HovO5LAb32CphBBt3uNlapKmQ==","shasum":"d9325ef7b71696b61b800d8de2913f4767b9daac","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-1.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD31knOLub7mA6/E2wPE9nqNZEoXxbpuiwC+HE7ERH8kQIhAImjJ4sjbbEa6Ua/uWosikf+MvlKXkzpM4/qiBWk/dce"}],"size":2570,"noattachment":false,"key":"/async-sema/-/async-sema-1.4.0.tgz"},"maintainers":[{"email":"olli@zeit.co","name":"olliv"},{"email":"leo@zeit.co","name":"leo"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema-1.4.0.tgz_1516439399979_0.31304796878248453"},"directories":{},"publish_time":1516439400108,"_cnpm_publish_time":1516439400108},"1.3.0":{"name":"async-sema","version":"1.3.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js","rate-limit.js"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"f999abf32415dfd77564d95f3933bd1c9e922df7","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@1.3.0","_npmVersion":"5.5.1","_nodeVersion":"9.0.0","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-bIdHbzd2/QBqKU7mm5Xw3h+E2g+7xn38UIP6YXvw8czrJMYaddk66gT7D1jZxlqYR2smiPAcXX7+7YTmLEe8Qg==","shasum":"7d843a0beee56db43a5584365e856fe697e6522c","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-1.3.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeEnDKV7x3mQHAvuCVPL1dhyfhtN5+qwDA9N4QqohIRgIgaoB5SW0Kjnw4B1QxgnVhIufEJGLcrhLfdPCsHdum4QM="}],"size":2552,"noattachment":false,"key":"/async-sema/-/async-sema-1.3.0.tgz"},"maintainers":[{"email":"olli@zeit.co","name":"olliv"},{"email":"leo@zeit.co","name":"leo"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema-1.3.0.tgz_1516378883521_0.4505087716970593"},"directories":{},"publish_time":1516378883602,"_cnpm_publish_time":1516378883602},"1.2.0":{"name":"async-sema","version":"1.2.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"19c60b1e4c869f160d09d1cc5df03bf4d132ef88","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@1.2.0","_npmVersion":"5.2.0","_nodeVersion":"8.2.1","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-xfA99FEYgA6fioMrrgRwSwb2xNRZOIE401YF/1SnIJtnaeOYn0dvamxpSE/OaEeEBUiIdw+8QWH1JELax9TzTQ==","shasum":"b1d5a59a7cd92596a5f6569ac4174d2c9c2d6900","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-1.2.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH+EJrTNTdRroCyj0iiPIbCJ0o02tGisRqirOKAhYgZnAiEAllwLPd37LPG4MWFTeIeSyC+C2+ftRVrkJM/1n2H3srA="}],"size":2427,"noattachment":false,"key":"/async-sema/-/async-sema-1.2.0.tgz"},"maintainers":[{"email":"olli@zeit.co","name":"olliv"},{"email":"leo@zeit.co","name":"leo"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema-1.2.0.tgz_1506674637999_0.8824148667044938"},"directories":{},"publish_time":1506674638262,"_cnpm_publish_time":1506674638262},"1.1.0":{"name":"async-sema","version":"1.1.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"7a9e51f9b515a641ed0636b173be716ef61ae215","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@1.1.0","_npmVersion":"5.3.0","_nodeVersion":"8.3.0","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-NzYCTM9K7IIDP6R4uZUrozFFs9OvyTMcu4H+5hYHGlYFDsEM/hXolCcG9dbSMQG610ov1hlWvIScBs0lpwpomQ==","shasum":"594ab57106363c2fa7f212a2a8764510eb4d1029","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-1.1.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD/DQEG68Z5+rRpoAAyANIIyQlAuPyJGcL8Ycv6VS3OcgIhAPd8gMJXZu6cd6e2isOVZiqNenFzpMNDZmMfEhSbBG2y"}],"size":2437,"noattachment":false,"key":"/async-sema/-/async-sema-1.1.0.tgz"},"maintainers":[{"email":"olli@zeit.co","name":"olliv"},{"email":"leo@zeit.co","name":"leo"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema-1.1.0.tgz_1502352143634_0.04176740348339081"},"directories":{},"publish_time":1502352144523,"_cnpm_publish_time":1502352144523},"1.0.2":{"name":"async-sema","version":"1.0.2","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","author":{"name":"hbp"},"keywords":["semaphore","async","await"],"files":["index.js"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"5e96c33bf30fea71ac33d60662c2ebf5a342752f","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@1.0.2","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"olliv","email":"olli@zeit.co"},"dist":{"integrity":"sha512-iwKFkTTv8cD7vtQafq7fKgyI5vJDcKoIaFYMHP6w7dtPk8lyu32Q+geCmOPPgeHWLqFmcvWBH0gd9KrqK4tGkA==","shasum":"7379c17cb09bec31d93f2d711cbd9f5fc444d2e4","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-1.0.2.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC1+6Vqs92mF+by06kHwUvJETZZWOwJSmOR37bs+QzM8gIhALp/aQ6O0rJXxCe2O4yNWoZxjPS/aR6+yTEeYsg1Y2MA"}],"size":2310,"noattachment":false,"key":"/async-sema/-/async-sema-1.0.2.tgz"},"maintainers":[{"email":"olli@zeit.co","name":"olliv"},{"email":"leo@zeit.co","name":"leo"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema-1.0.2.tgz_1502351427197_0.7254236121661961"},"directories":{},"publish_time":1502351427274,"_cnpm_publish_time":1502351427274},"1.0.1":{"name":"async-sema","version":"1.0.1","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","author":{"name":"hbp"},"files":["index.js"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"4b9bf52c72abfafdb75e50bd945840108567e476","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@1.0.1","_npmVersion":"5.3.0","_nodeVersion":"8.1.3","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-bFpH5HKAx9aBBNkv3eA/CX/pLbQ39ksOoG6ZQqMjSyOYAMVQQFLd7mMBSpwXcSd4yvlPiCNb2bvF5+ebCmwf1g==","shasum":"fc8a8695de4219e19521a60da14151b25fc3cf2a","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-1.0.1.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBbA6YFhC4qh2Ov8IMa4UQnuhD4CHlosVo+l33rTArgbAiAJfeIBfYoupvTMUFLRsjW+6SyVSJjN60v5EyMdFapj9Q=="}],"size":2284,"noattachment":false,"key":"/async-sema/-/async-sema-1.0.1.tgz"},"maintainers":[{"email":"olli@zeit.co","name":"olliv"},{"email":"leo@zeit.co","name":"leo"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema-1.0.1.tgz_1501359678585_0.9087016060948372"},"directories":{},"publish_time":1501359679553,"_cnpm_publish_time":1501359679553},"1.0.0":{"name":"async-sema","version":"1.0.0","description":"Semaphore using `async` and `await`","repository":{"type":"git","url":"git+https://github.com/zeit/async-sema.git"},"license":"MIT","main":"index.js","author":{"name":"hbp"},"files":["index.js"],"dependencies":{"double-ended-queue":"2.1.0-0"},"gitHead":"673b48351f4def449a7db41fcbdef074b107145b","bugs":{"url":"https://github.com/zeit/async-sema/issues"},"homepage":"https://github.com/zeit/async-sema#readme","_id":"async-sema@1.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.2.1","_npmUser":{"name":"leo","email":"leo@zeit.co"},"dist":{"integrity":"sha512-CEYgQWoyz+JZugyk7c7fQc24qaSFZrgx5hHhXUjP1sfMq7Hv2TLf15X+Tc432PgtZyYSsbODOijOrqsGFlHIlg==","shasum":"639d24bdfc9dced397dd594db14afb92c4cc307b","tarball":"http://registry-npm.ywwl.com/async-sema/download/async-sema-1.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHD5eU6KWQDFXW7yN38ycIWFiMAXt+kgVAAjhQQdTE7LAiEAzH28kC1Zbev8fJ81dPTlEtBROa1/frt6qUkWu5uHWVA="}],"size":2365,"noattachment":false,"key":"/async-sema/-/async-sema-1.0.0.tgz"},"maintainers":[{"name":"leo","email":"leo@zeit.co"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/async-sema-1.0.0.tgz_1501277615410_0.2595387315377593"},"directories":{},"publish_time":1501277616430,"_cnpm_publish_time":1501277616430}},"readme":"# async-sema\n\nThis is a semaphore implementation for use with `async` and `await`. The\nimplementation follows the traditional definition of a semaphore rather than the\ndefinition of an asynchronous semaphore seen in some js community examples.\nWhere as the latter one generally allows every defined task to proceed\nimmediately and synchronizes at the end, async-sema allows only a selected\nnumber of tasks to proceed at once while the rest will remain waiting.\n\nAsync-sema manages the semaphore count as a list of tokens instead of a single\nvariable containing the number of available resources. This enables an\ninteresting application of managing the actual resources with the semaphore\nobject itself. To make it practical the constructor for Sema includes an option\nfor providing an init function for the semaphore tokens. Use of a custom token\ninitializer is demonstrated in `examples/pooling.js`.\n\n## Usage\n\nFirstly, add the package to your project's `dependencies`:\n\n```bash\nnpm install --save async-sema\n```\n\nor\n\n```bash\nyarn add async-sema\n```\n\nThen start using it like shown in the following example. Check more\nuse case examples [here](./examples).\n\n## Example\n\n```js\nconst { Sema } = require('async-sema');\nconst s = new Sema(\n  4, // Allow 4 concurrent async calls\n  {\n    capacity: 100 // Prealloc space for 100 tokens\n  }\n);\n\nasync function fetchData(x) {\n  await s.acquire()\n  try {\n    console.log(s.nrWaiting() + ' calls to fetch are waiting')\n    // ... do some async stuff with x\n  } finally {\n    s.release();\n  }\n}\n\nconst data = await Promise.all(array.map(fetchData));\n```\n\nThe package also offers a simple rate limiter utilizing the semaphore\nimplementation.\n\n```js\nconst { RateLimit } = require('async-sema');\n\nasync function f() {\n  const lim = RateLimit(5); // rps\n\n  for (let i = 0; i < n; i++) {\n    await lim();\n    // ... do something async\n  }\n}\n```\n\n## API\n\n### Sema\n\n#### Constructor(nr, { initFn, pauseFn, resumeFn, capacity })\n\nCreates a semaphore object. The first argument is mandatory and the second\nargument is optional.\n\n- `nr` The maximum number of callers allowed to acquire the semaphore\n  concurrently.\n- `initFn` Function that is used to initialize the tokens used to manage\n  the semaphore. The default is `() => '1'`.\n- `pauseFn` An optional fuction that is called to opportunistically request\n  pausing the the incoming stream of data, instead of piling up waiting\n  promises and possibly running out of memory.\n  See [examples/pausing.js](./examples/pausing.js).\n- `resumeFn` An optional function that is called when there is room again\n  to accept new waiters on the semaphore. This function must be declared\n  if a `pauseFn` is declared.\n- `capacity` Sets the size of the preallocated waiting list inside the\n  semaphore. This is typically used by high performance where the developer\n  can make a rough estimate of the number of concurrent users of a semaphore.\n\n#### async drain()\n\nDrains the semaphore and returns all the initialized tokens in an array.\nDraining is an ideal way to ensure there are no pending async tasks, for\nexample before a process will terminate.\n\n#### nrWaiting()\n\nReturns the number of callers waiting on the semaphore, i.e. the number of\npending promises.\n\n#### tryAcquire()\n\nAttempt to acquire a token from the semaphore, if one is available immediately.\nOtherwise, return `undefined`.\n\n#### async acquire()\n\nAcquire a token from the semaphore, thus decrement the number of available\nexecution slots. If `initFn` is not used then the return value of the function\ncan be discarded.\n\n#### release(token)\n\nRelease the semaphore, thus increment the number of free execution slots. If\n`initFn` is used then the `token` returned by `acquire()` should be given as\nan argument when calling this function.\n\n### RateLimit(rps, { timeUnit, uniformDistribution })\n\nCreates a rate limiter function that blocks with a promise whenever the rate\nlimit is hit and resolves the promise once the call rate is within the limit\nset by `rps`. The second argument is optional.\n\nThe `timeUnit` is an optional argument setting the width of the rate limiting\nwindow in milliseconds. The default `timeUnit` is `1000 ms`, therefore making\nthe `rps` argument act as requests per second limit.\n\nThe `uniformDistribution` argument enforces a discrete uniform distribution over\ntime, instead of the default that allows hitting the function `rps` time and\nthen pausing for `timeWindow` milliseconds. Setting the `uniformDistribution`\noption is mainly useful in a situation where the flow of rate limit function\ncalls is continuous and and occuring faster than `timeUnit` (e.g. reading a\nfile) and not enabling it would cause the maximum number of calls to resolve\nimmediately (thus exhaust the limit immediately) and therefore the next bunch\ncalls would need to wait for `timeWindow` milliseconds. However if the flow is\nsparse then this option may make the\ncode run slower with no advantages.\n\n## Contributing\n\n1. [Fork](https://help.github.com/articles/fork-a-repo/) this repository to your own GitHub account and then [clone](https://help.github.com/articles/cloning-a-repository/) it to your local device\n2. Move into the directory of the clone: `cd async-sema`\n3. Link it to the global module directory of Node.js: `npm link`\n\nInside the project where you want to test your clone of the package, you can now either use `npm link async-sema` to link the clone to the local dependencies.\n\n## Author\n\nOlli Vanhoja ([@OVanhoja](https://twitter.com/OVanhoja))\n","_attachments":{},"homepage":"https://github.com/vercel/async-sema","bugs":{"url":"https://github.com/vercel/async-sema/issues"},"license":"MIT"}