{"_id":"@esm2cjs/p-limit","name":"@esm2cjs/p-limit","dist-tags":{"latest":"4.0.0"},"versions":{"4.0.0":{"name":"@esm2cjs/p-limit","version":"4.0.0","description":"Run multiple promise-returning & async functions with limited concurrency. This is a fork of sindresorhus/p-limit, but with CommonJS support.","license":"MIT","repository":{"type":"git","url":"git+https://github.com/esm2cjs/p-limit.git"},"funding":"https://github.com/sponsors/AlCalzone","author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"exports":{".":{"import":"./esm/index.js","require":"./cjs/index.js"},"./package.json":"./package.json"},"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":{"@esm2cjs/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"},"publishConfig":{"access":"public"},"main":"cjs/index.js","module":"esm/index.js","types":"esm/index.d.ts","typesVersions":{"*":{"esm/index.d.ts":["esm/index.d.ts"],"cjs/index.d.ts":["esm/index.d.ts"],"*":["esm/*"]}},"xo":{"ignores":["cjs","**/*.test-d.ts","**/*.d.ts"]},"gitHead":"5d3eca33ee101abe90c5f3e55093be254e56a597","bugs":{"url":"https://github.com/esm2cjs/p-limit/issues"},"homepage":"https://github.com/esm2cjs/p-limit#readme","_id":"@esm2cjs/p-limit@4.0.0","_nodeVersion":"16.16.0","_npmVersion":"8.11.0","dist":{"integrity":"sha512-t2YIlQHsgMy8vyC8oSxIyGuhc99KPjjPI808IENcvWaKWlFEANu8VEO3tMN9jqaqJQp/WpLx+SLqm3vC6Ve9pQ==","shasum":"7a80e7a2cf16476052a58dea628132b002f00586","tarball":"https://registry.npmjs.org/@esm2cjs/p-limit/-/p-limit-4.0.0.tgz","fileCount":10,"unpackedSize":12841,"signatures":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GNATURE-----\r\n"},"_npmUser":{"name":"alcalzone","email":"d.griesel@gmx.net"},"directories":{},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/p-limit_4.0.0_1661250570348_0.7892938774635594"},"_hasShrinkwrap":false}},"time":{"created":"2022-08-23T10:29:30.295Z","4.0.0":"2022-08-23T10:29:30.528Z","modified":"2022-08-23T10:29:30.677Z"},"maintainers":[{"name":"alcalzone","email":"d.griesel@gmx.net"}],"description":"Run multiple promise-returning & async functions with limited concurrency. This is a fork of sindresorhus/p-limit, but with CommonJS support.","homepage":"https://github.com/esm2cjs/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/esm2cjs/p-limit.git"},"author":{"name":"Dominic Griesel","email":"d.griesel@gmx.net"},"bugs":{"url":"https://github.com/esm2cjs/p-limit/issues"},"license":"MIT","readme":"# @esm2cjs/p-limit\n\nThis is a fork of https://github.com/sindresorhus/p-limit, but automatically patched to support ESM **and** CommonJS, unlike the original repository.\n\n## Install\n\nYou can use an npm alias to install this package under the original name:\n\n```\nnpm i p-limit@npm:@esm2cjs/p-limit\n```\n\n```jsonc\n// package.json\n\"dependencies\": {\n    \"p-limit\": \"npm:@esm2cjs/p-limit\"\n}\n```\n\nbut `npm` might dedupe this incorrectly when other packages depend on the replaced package. If you can, prefer using the scoped package directly:\n\n```\nnpm i @esm2cjs/p-limit\n```\n\n```jsonc\n// package.json\n\"dependencies\": {\n    \"@esm2cjs/p-limit\": \"^ver.si.on\"\n}\n```\n\n## Usage\n\n```js\n// Using ESM import syntax\nimport pLimit from \"@esm2cjs/p-limit\";\n\n// Using CommonJS require()\nconst pLimit = require(\"@esm2cjs/p-limit\").default;\n```\n\n> **Note:**\n> Because the original module uses `export default`, you need to append `.default` to the `require()` call.\n\nFor more details, please see the original [repository](https://github.com/sindresorhus/p-limit).\n\n## Sponsoring\n\nTo support my efforts in maintaining the ESM/CommonJS hybrid, please sponsor [here](https://github.com/sponsors/AlCalzone).\n\nTo support the original author of the module, please sponsor [here](https://github.com/sindresorhus/p-limit).\n","readmeFilename":"readme.md"}