{"_id":"promise-parallel-throttle","_rev":"23-03427e7981a9afc3ff03e3ce5aa9e7c3","name":"promise-parallel-throttle","description":"Run promises in parallel, but throttled","dist-tags":{"latest":"3.5.0"},"versions":{"1.0.0":{"name":"promise-parallel-throttle","version":"1.0.0","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@1.0.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"64f47b3f2a7cad37fe885a5baadd2d21038b7e95","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-1.0.0.tgz","integrity":"sha512-ZTLOLdjNTz+uobQ+hVOF1y2F2/ZMWZcqXhCf4Q+MjPH4bl8nwvU0HXMN5WqaTIDxML9/n5Am+56IHL+s5iUWHA==","signatures":[{"sig":"MEUCIQC/caFPS6j48EYnnauink3rLBmySkWH22LtcC3LXUSCTQIgCk+Cm0CXAjRrtiYEjghDkyLFHZpvpscH1qZZgDblHa8=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","_from":".","_shasum":"64f47b3f2a7cad37fe885a5baadd2d21038b7e95","gitHead":"ccabd46b6bf60ba08dc59233588dc2222be6a53c","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"3.9.5","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"6.2.2","_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-1.0.0.tgz_1476996318092_0.37079922133125365","host":"packages-12-west.internal.npmjs.com"}},"2.0.0":{"name":"promise-parallel-throttle","version":"2.0.0","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.0.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"bbb64a8fc4dbde1e354adc0f8cd7f48e7dbad85f","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.0.0.tgz","integrity":"sha512-0It7ROTfK5UE76PK/rVlEnlWi4aYBrAnbR8jCrwlEhDYisZhi10yyZwBlfztpQ7OK/y/AQouTDAvehZ4GxNGNQ==","signatures":[{"sig":"MEQCIFUQxPg+CWjUDhkXyQpl4zSNloqEJx1i1OE31AT37mvaAiAP4v9D9Y+0sdxpMbLT0OTqR9EK3gMOL76bkc45eO+cjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build/throttle.js","_from":".","_shasum":"bbb64a8fc4dbde1e354adc0f8cd7f48e7dbad85f","gitHead":"db35135f8b6159d1fe94d381ac07b4b1685bf416","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"babel src --out-dir build","prepublish":"npm run build"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"3.9.5","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"6.2.2","dependencies":{"babel-cli":"^6.6.5","babel-loader":"^6.2.4","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.0.0.tgz_1477689622622_0.059644421096891165","host":"packages-12-west.internal.npmjs.com"}},"2.0.1":{"name":"promise-parallel-throttle","version":"2.0.1","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.0.1","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"9ef282e10f892e5533354ac9eb1ee0b3b77f0e56","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.0.1.tgz","integrity":"sha512-NFvVSyg9lK0E3EoLcbqaTd/V7qWWhyBx+aIJ27vi6a1BVi0I8pwf+YyvY37FAKFAKnQpoG1XJhbSCN1wE3Vn8A==","signatures":[{"sig":"MEYCIQC/tPgcc/Q80JCugqexukOVDyQhMOtKRumyc0kr3LhYGwIhALYE9IgHJD4mTHGlS6mmaWzxGWwNeT/YxBZT0t4FnoeD","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build/throttle.js","_from":".","_shasum":"9ef282e10f892e5533354ac9eb1ee0b3b77f0e56","gitHead":"96930b6d63838ba2e08a0a1ba9f4d93172a7a4ad","scripts":{"test":"npm run build && npm run mocha","build":"babel src --out-dir build","mocha":"mocha tests --recursive --require mocha.config.js","prepublish":"npm run build"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"3.9.5","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"6.2.2","devDependencies":{"mocha":"^3.1.2","babel-cli":"^6.6.5","expect.js":"^0.3.1","babel-loader":"^6.2.4","babel-preset-es2015":"^6.9.0","babel-preset-stage-0":"^6.5.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.0.1.tgz_1477762221329_0.7711915029212832","host":"packages-18-east.internal.npmjs.com"}},"2.1.0":{"name":"promise-parallel-throttle","version":"2.1.0","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.1.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"322a3c39cb205f509dd2e1b8b866eb519ae4266a","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.1.0.tgz","integrity":"sha512-3J0MVtsPEbgGWwXKX+gvR36TS9xjhLNGFIvQGQShpXH4UbMFBVHLmwS34k3D23K9HSNpN35NykmzEKBoKWeTQA==","signatures":[{"sig":"MEUCIQDU8A8Db8nxw3/in/3WWNWME4iaqInoad2UW2iRpb7VRgIgWHQiTdWvQE8tXSNul5dSX65IhgROyrmJ/lwBl0dX09g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build/throttle.js","_from":".","_shasum":"322a3c39cb205f509dd2e1b8b866eb519ae4266a","gitHead":"fd82f65db78cfc660a8e70958abe8f95b26a9bc7","scripts":{"test":"npm run build && mocha tests --recursive --harmony-async-await","build":"rm -rf ./build && tsc && npm run declarations","prepublish":"npm run build","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"3.10.8","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"7.0.0","dependencies":{},"devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2","typescript":"^2.0.7","@types/chai":"^3.4.34","@types/node":"^6.0.46","@types/mocha":"^2.2.32","@types/es6-promise":"^0.0.32"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.1.0.tgz_1479129212994_0.5657915202900767","host":"packages-12-west.internal.npmjs.com"}},"2.2.0":{"name":"promise-parallel-throttle","version":"2.2.0","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.2.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"58ac5dc184778336ddb79bff4197dcebf6ab3bd1","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.2.0.tgz","integrity":"sha512-P/CPN4JMttKUoImvUXIz5p1cWMLY1jFViTF6Xk5QhMvQY5o8EF36gYKGlu0wMk+GWRERHz+fKLs3a6rV1j1aig==","signatures":[{"sig":"MEUCIQCMBjZLhq1UBllANFyo3nImh0bvvcIVz8N5+lHOJmTB9AIgD9bQv9q/fDtbyV2Rq0FysH2m9uYsI3+AkW1yINfwpn4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build/throttle.js","_from":".","_shasum":"58ac5dc184778336ddb79bff4197dcebf6ab3bd1","gitHead":"583628ccdfe50b37a38c5484d74b755019f2bec7","scripts":{"test":"npm run build && mocha tests --recursive --harmony-async-await","build":"rm -rf ./build && tsc && npm run declarations","prepublish":"npm run build","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"3.10.8","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"7.0.0","dependencies":{},"devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2","typescript":"^2.0.7","@types/chai":"^3.4.34","@types/node":"^6.0.46","@types/mocha":"^2.2.32","@types/es6-promise":"^0.0.32"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.2.0.tgz_1479289951615_0.7271321038715541","host":"packages-18-east.internal.npmjs.com"}},"2.3.0":{"name":"promise-parallel-throttle","version":"2.3.0","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.3.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"13bb7f7129321ec5485b40dac3c701f05c149e29","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.3.0.tgz","integrity":"sha512-OeF38E5qu/hfw7kYBP1/O8QJfvlaBfQYIljfmfaVKBPwLHtwA9PbfZNkH9WZ4kYCNd0bdRl1B6+YMldCFdmvPA==","signatures":[{"sig":"MEUCIQCBIk1Y8d8WBw7wLGKpLWzxlw0r4an5T6tzbg2f6FGg2gIgFnMetExDnXp5WfCr+F3CxV3UJ0JK879F2Jt6wa9gF/Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build/throttle.js","_from":".","_shasum":"13bb7f7129321ec5485b40dac3c701f05c149e29","gitHead":"2ee97a158a873f86bf4e41b03286a7aec40fdd15","scripts":{"test":"npm run build && mocha tests --recursive --harmony-async-await","build":"rm -rf ./build && tsc && npm run declarations","prepublish":"npm run build","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"4.2.0","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"7.9.0","dependencies":{},"devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2","typescript":"^2.0.7","@types/chai":"^3.4.34","@types/node":"^6.0.46","@types/mocha":"^2.2.32","@types/es6-promise":"^0.0.32"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.3.0.tgz_1493372042305_0.2764264647848904","host":"packages-12-west.internal.npmjs.com"}},"2.3.1":{"name":"promise-parallel-throttle","version":"2.3.1","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.3.1","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"92c2a7b9e4a593aef1f27e029dfb54e8822030a4","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.3.1.tgz","integrity":"sha512-WZm/jkrHDZbn6MupRDp4ayRT1gBtGPpWFEoLs/qHqBsIeCJs9qauCi6T55VXuMnNjjUD/WdOAJx9hr+K60gjtQ==","signatures":[{"sig":"MEYCIQCdd6aPu9Nx61InEPsEJMMmJChtiWgVyhyZ9FTH2s3NBQIhALavMS0vu66/fn1kzxaLbFsU2zlSe5heoECInms7lido","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build/throttle.js","_from":".","_shasum":"92c2a7b9e4a593aef1f27e029dfb54e8822030a4","gitHead":"1807957606ab5caaff06ea6bc62dadf0c4d3cd8b","scripts":{"test":"npm run build && mocha tests --recursive --harmony-async-await","build":"rm -rf ./build && tsc && npm run declarations","prepublish":"npm run build","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"4.2.0","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"7.9.0","dependencies":{},"devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2","typescript":"^2.0.7","@types/chai":"^3.4.34","@types/node":"^6.0.46","@types/mocha":"^2.2.32"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.3.1.tgz_1493390898717_0.21501291496679187","host":"packages-18-east.internal.npmjs.com"}},"2.3.2":{"name":"promise-parallel-throttle","version":"2.3.2","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.3.2","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"3f289e6aff1deb9af104641bbbcc47bf7cc429e9","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.3.2.tgz","integrity":"sha512-rtVHyIez3ohB6T/EjgvFVauvy28Mm5PgL3fCbpPd9hFXhJQbNK/yTDrtQB8mojWDO1rC0CXUu2IyU8uaA6/aPA==","signatures":[{"sig":"MEYCIQCPJkPRuxmzRmMzQ92LLZkkWO4JQ5BeFuD/YD+enmbC9AIhAOaY6thNdenkT9CuCxTNs9Uf6BvdP8Cc2PCcXFLlKuK3","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"build/throttle.js","_from":".","types":"./build/throttle.d.ts","_shasum":"3f289e6aff1deb9af104641bbbcc47bf7cc429e9","gitHead":"691c87688f154d4fecd0a2044d452958465c5d93","scripts":{"test":"npm run build && mocha tests --recursive --harmony-async-await","build":"rm -rf ./build && tsc && npm run declarations","prepublish":"npm run build","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"4.2.0","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"7.9.0","dependencies":{},"devDependencies":{"chai":"^3.5.0","mocha":"^3.1.2","typescript":"^2.0.7","@types/chai":"^3.4.34","@types/node":"^6.0.46","@types/mocha":"^2.2.32"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.3.2.tgz_1493391858171_0.7630300379823893","host":"packages-18-east.internal.npmjs.com"}},"2.4.0":{"name":"promise-parallel-throttle","version":"2.4.0","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.4.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"9c086f3b6215a0e9340dcc75760455e65ba23ead","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.4.0.tgz","integrity":"sha512-enMNCPR+9fVwzuUxbKSP+CuR0ROqQzf/F5aetafdlMb6FmXOa3xeuOoRJk8lvVNUvHWkTZMOe5X1MvnMGTPSwQ==","signatures":[{"sig":"MEUCIQCZZLHImFaaUqpRdOfumIOzOff42/ovCEfGg472BN5LHQIgUqtTtMv89x6epRTkCBnz1N4A8Ix3LW2IEB+Ejiqi6nk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"moduleFileExtensions":["ts","tsx","js"],"testResultsProcessor":"<rootDir>/node_modules/ts-jest/coverageprocessor.js"},"main":"build/throttle.js","_from":".","types":"./build/throttle.d.ts","_shasum":"9c086f3b6215a0e9340dcc75760455e65ba23ead","gitHead":"b92cfe8da2aaef42d037a8e73c8a6c51f9291c93","scripts":{"lint":"tslint -p ./tsconfig.json","test":"yarn lint && jest","build":"yarn lint && rm -rf ./build && tsc && npm run declarations","lint:fix":"tslint -p ./tsconfig.json --fix","prepublish":"npm run build","test:watch":"jest --watch","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"4.2.0","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"7.9.0","dependencies":{},"devDependencies":{"jest":"^19.0.2","tslint":"^5.1.0","ts-jest":"^19.0.14","typescript":"^2.3.2","@types/jest":"^19.2.2","@types/node":"^6.0.46","tslint-eslint-rules":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.4.0.tgz_1493479980948_0.9725796470884234","host":"packages-12-west.internal.npmjs.com"}},"2.5.0":{"name":"promise-parallel-throttle","version":"2.5.0","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@2.5.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"a702813ba8f280f4071a50c8331df53dc68bd30b","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-2.5.0.tgz","integrity":"sha512-zubEH3cubUmTEcPlpLs24qPbp2ZguQo7gGt/C14fAKyRbxxSOjqswYbO0lTH6RAUTWqA9N4PhpSxkRqZyETrDw==","signatures":[{"sig":"MEQCIAy5KJkfY+8JLa7ZmQwD9g9lXz13/4ae587O44rh4qJIAiBLdRSp4fXf+f349Ag08AVcQJP/tVyTJoQY6cs+yFSeVw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"moduleFileExtensions":["ts","tsx","js"],"testResultsProcessor":"<rootDir>/node_modules/ts-jest/coverageprocessor.js"},"main":"build/throttle.js","_from":".","types":"./build/throttle.d.ts","_shasum":"a702813ba8f280f4071a50c8331df53dc68bd30b","gitHead":"e725d8d1f6ecb42ddb6dc19df4d8f011c5eeeef8","scripts":{"lint":"tslint -p ./tsconfig.json","test":"yarn lint && jest --coverage","build":"yarn lint && rm -rf ./build && tsc && npm run declarations","lint:fix":"tslint -p ./tsconfig.json --fix","prepublish":"npm run build","test:watch":"jest --watch","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"4.2.0","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"7.9.0","dependencies":{},"devDependencies":{"jest":"^19.0.2","tslint":"^5.1.0","ts-jest":"^19.0.14","typescript":"^2.3.2","@types/jest":"^19.2.2","@types/node":"^6.0.46","tslint-eslint-rules":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-2.5.0.tgz_1493483655056_0.3757962416857481","host":"packages-12-west.internal.npmjs.com"}},"3.0.0":{"name":"promise-parallel-throttle","version":"3.0.0","author":{"url":"http://dirkjanwassink.nl","name":"\"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@3.0.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"655bcd5c8fe5a26df38347e2fd5c7904309d27da","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.0.0.tgz","integrity":"sha512-KikPVOxwNArHqBDuJ9vVQaZ8WDLP9Bqs/g4C+ORNvAm9cscqpxD7zFASsfycEu+LyPFnjotAijo9hucY3YY/BA==","signatures":[{"sig":"MEUCIQCcuvJkIa/WK0CLEDnjwZ154cQKmFatp4aE9mktxyK4WQIgBGXzuoF1ZI/AzKSPRZEDSJAgwXSPxg0GfxOwbye2dTM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"moduleFileExtensions":["ts","tsx","js"],"testResultsProcessor":"<rootDir>/node_modules/ts-jest/coverageprocessor.js"},"main":"build/throttle.js","_from":".","types":"./build/throttle.d.ts","_shasum":"655bcd5c8fe5a26df38347e2fd5c7904309d27da","gitHead":"bad9df129ccb4ab6cc07a8b78f2a6eafcff19029","scripts":{"lint":"tslint -p ./tsconfig.json","test":"yarn lint && jest --coverage --no-cache","build":"yarn lint && rm -rf ./build && tsc && npm run declarations","lint:fix":"tslint -p ./tsconfig.json --fix","prepublish":"npm run build","test:watch":"jest --watch","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"4.2.0","description":"Run promises in parallel, but throttled","directories":{},"_nodeVersion":"7.9.0","dependencies":{},"devDependencies":{"jest":"^19.0.2","tslint":"^5.1.0","ts-jest":"^19.0.14","typescript":"^2.3.2","@types/jest":"^19.2.2","@types/node":"^6.0.46","tslint-eslint-rules":"^4.0.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-3.0.0.tgz_1493925759937_0.6379893475677818","host":"packages-18-east.internal.npmjs.com"}},"3.1.0":{"name":"promise-parallel-throttle","version":"3.1.0","keywords":["promise","async","parallel","throttle","promise.all()","sync","synchronously"],"author":{"url":"http://dirkjanwassink.nl","name":"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@3.1.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"0fd4179e944cf94430582e632efde13b8b7bb43d","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.1.0.tgz","integrity":"sha512-18gafVK+kfabwYl/RolyU7cp62EXtv4RhzRrSqdnlyp48tR8BZUK7fKEeG4nfERJcpkSyD3P50aW/qbZOsUmtw==","signatures":[{"sig":"MEQCIBbsixYxbLZCe2nU8nY++QbbHaYyn6gMKP00VE7g5GYYAiAjXQrqC2bXLmfsrvYGNzg5+zKLgi37S71se6DAvv4Rvg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"jest":{"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"moduleFileExtensions":["ts","tsx","js"],"testResultsProcessor":"<rootDir>/node_modules/ts-jest/coverageprocessor.js"},"main":"build/throttle.js","types":"./build/throttle.d.ts","gitHead":"29cbc64d8cf9b2f15d0adb05e323b69f609aa102","scripts":{"lint":"tslint -p ./tsconfig.json","test":"yarn lint && jest --coverage --no-cache","build":"yarn lint && rm -rf ./build && tsc && npm run declarations","lint:fix":"tslint -p ./tsconfig.json --fix","prettier":"prettier --write \"src/**/*.ts*\"","precommit":"lint-staged","prepublish":"npm run build","test:watch":"jest --watch","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"prettier":{"tabWidth":4,"printWidth":120,"singleQuote":true,"bracketSpacing":true,"jsxBracketSameLine":true},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"5.5.1","description":"Run promises in parallel, but throttled","directories":{},"lint-staged":{"*.{ts,js}":["prettier --write","tslint -c ./tslint.json","git add"]},"_nodeVersion":"8.9.0","devDependencies":{"jest":"^19.0.2","husky":"^0.14.3","tslint":"^5.1.0","ts-jest":"^19.0.14","prettier":"^1.7.2","typescript":"^2.6.1","@types/jest":"^19.2.2","@types/node":"^6.0.46","lint-staged":"^4.2.3","tslint-eslint-rules":"^4.1.1","tslint-config-prettier":"^1.5.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle-3.1.0.tgz_1510840767783_0.684522355441004","host":"s3://npm-registry-packages"}},"3.2.0":{"name":"promise-parallel-throttle","version":"3.2.0","keywords":["promise","async","parallel","throttle","promise.all()","sync","synchronously"],"author":{"url":"http://dirkjanwassink.nl","name":"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@3.2.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"6557a103b61e81bf76ca685c441345f91431c2c8","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.2.0.tgz","fileCount":32,"integrity":"sha512-htoKw8BANvNnTmRoA1VBk1wB2iJcsTTrgG/KXPXqVecr4aJ7zq9noucVUmADBzpNX54ZMGK9gd1OBBBE8hhf0A==","signatures":[{"sig":"MEQCIHRQhS2+wQb1wUY1L6ZwlaaGSeEe+6uFXyC2JyzF7vD6AiBfmj9t3NDXEMx2I7/Lp7ullVjGIJ+J+iaiT4fuVoOYLA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":307621,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbeqhtCRA9TVsSAnZWagAAQPEP/1Q0IqtmpiQcqYfOXckP\no5j4QjCINd9niXqHR3HdVhO+uvFwwXNlf7fnTzpUKY/MzE2VGIZrA8KDY000\nQv9v4uI84KDqOifFmr2VIBp5fEZS1NO9MNa5H9Bn2gbdhOGD20RbOQChp3Sc\nGG0JkLUT6bdxmGThwhnzYEirl3MZMhVJv5qFjWP4GTG1BOKhnS83+dY8uO8W\nYkbMXWvui56lGxInHAcStuUyUmf5ZqNbWQfEUkjuZmQ/p04++khD/l7KBmI4\nxSnq9j/CQzI4pX83iMXX/Ah5F1PpaWIib2a/HjwOZV6K7huaty6CDEYkErDc\nWQ3JDUnYn38eC0GaEjo9KzCNMPoKG2zhp2n+jsNLfLMWY58Ik5z7nKkOWFV0\nPw544XdBtUb0RO8G/BRqVNXOD65tHapO95HtvIxko2psPHuQSvSksaK5X3O5\nK0ptVKedCxl6hbkVkV69z0gmV4YGGJwJkYhqJRvSgNjrA/OmA63EzKqX0c85\n0HDj9hzvBOVcDwVUjm70ll928nLwWsNYFHaq8cBDwCXl/m8ri6UywgYZudRs\n0qhWXS+5hRClZpckaYgF1oFG8O0cQ+WtLfO2fqmzTtbj+oaOsehgoO/C9HOn\nSqIW405zfW16EiCRs47D37wpJ1tf2uUTUY6E+04j9e9S0GQC786NBQGwxoar\n7Ni/\r\n=k173\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{"^.+\\.tsx?$":"ts-jest"},"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"main":"build/throttle.js","types":"./build/throttle.d.ts","gitHead":"847e8b6577ceace86caeac7da27fdc1d9fa1d6c8","scripts":{"lint":"tslint -p ./tsconfig.json","test":"yarn lint && jest --coverage --no-cache","build":"yarn lint && rm -rf ./build && tsc && npm run declarations","lint:fix":"tslint -p ./tsconfig.json --fix","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,graphl}\" --ignore-path .gitignore","precommit":"lint-staged","prepublish":"npm run build","test:watch":"jest --watch","declarations":"tsc --declaration"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"6.2.0","description":"Run promises in parallel, but throttled","directories":{},"lint-staged":{"*.{ts,tsx}":["prettier --write","tslint -c ./tslint.json --fix","git add"],"*.{json,css,scss,md,graphl,js,jsx}":["prettier --write","git add"]},"_nodeVersion":"10.9.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.5.0","husky":"^0.14.3","tslint":"^5.11.0","ts-jest":"^23.1.3","prettier":"^1.14.2","typescript":"^3.0.1","@types/jest":"^23.3.1","@types/node":"^10.7.1","lint-staged":"^7.2.2","tslint-eslint-rules":"^5.4.0","tslint-config-prettier":"^1.15.0"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle_3.2.0_1534765165005_0.9495367254976737","host":"s3://npm-registry-packages"}},"3.3.0":{"name":"promise-parallel-throttle","version":"3.3.0","keywords":["promise","async","parallel","throttle","promise.all()","sync","synchronously"],"author":{"url":"http://dirkjanwassink.nl","name":"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@3.3.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"8fc4a0131a0b9c12470bd27c0732bc4c4ffd68a0","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.3.0.tgz","fileCount":10,"integrity":"sha512-tThe11SfFXlGMhuO2D+Nba6L8FJFM17w2zwlMV1kqaLfuT2E8NMtMF1WhJBZaSpWz6V76pP/bGAj8BXTAMOncw==","signatures":[{"sig":"MEQCIEh0mA+O1UIupX0P9NA55FYNMI5O/9xNI2wrN/tTA2QBAiAOL6wfkSTeTLrFG9hFK3Wszrr/tHeemIyhrMWmKFLnYQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":187655,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJNKHCRA9TVsSAnZWagAAbU0P/3+T3ie6EZDUBJ2SjFfc\nXvD6KeJwtbRkgMw51k2xR5U4Z8xZ0VOE1xWZE4U2akEBgjzarj6F4g7NKq9n\nzJC85eK8C2ZvYmnqQvxgsz12ypZX4/5V21hGKRgv3DXZow5hTG/UDQS1+Rt4\ndSOpyxJD7xOJQxM8/+1i3DejAadTI5YaxejvAnZWv6myUkQ0e4gfeOEuTNY1\nug9x+1FNPkFpna+Akp4zkMzXS/YXs+EE6ofgFKx+ivLPA8b1QGjdMBaBcOn9\nHZ93MLIGI4zAZH8F4dxvIIjREhxF/AFCU6wbDsSllZ8cRLDDIGBAXmURBBIY\n2NpNaO2EUKtGPYu0p1/2d61XZgJuVRwduRzQHvfw9lOASBYhQmy1ZZcS5h85\nHEh0lo/izP1ZQDwiAkBsAEYo1Ls7MpLBrXOGqz5q2XcQXsvFjHH7MOYPBtdk\nJVFwICJWeCzcJLmK0zpsSe6ZUeeBcbwVdS/KZooF2MZRPmNRWbA2zyqWUp6U\nI4om0JokU2NvtdFbEiZaZa650M4TW4RSXgStmkSWBRqdXj4AXVlQMnjxExTC\nT9mByINDJMMvUO0nxz7heMs9uKUkanz6DcDVQzBkRdVh8x+QRDJi1V+onPMf\nocjrmAPIMizYSxZuS4UM6pOmstDfx2P9Zo1FO816hkt/sFta5L1xo2A3c/zc\ne5mD\r\n=Merw\r\n-----END PGP SIGNATURE-----\r\n"},"jest":{"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{"^.+\\.tsx?$":"ts-jest"},"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"main":"dist/lib/throttle.js","types":"dist/types/throttle.d.ts","module":"dist/lib/throttle.mjs","gitHead":"ed639e0eb3735da44bdc28bda57f466d58592a2d","scripts":{"lint":"tslint -p ./tsconfig.json","test":"yarn lint && jest --coverage --no-cache","build":"tsc --module commonjs && rollup -c rollup.config.ts","start":"rollup -c rollup.config.ts -w","lint:fix":"tslint -p ./tsconfig.json --fix","prebuild":"rimraf dist","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,graphl}\" --ignore-path .gitignore","precommit":"lint-staged","prepublish":"npm run build","test:watch":"jest --watch"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"6.2.0","description":"Run promises in parallel, but throttled","directories":{},"lint-staged":{"*.{ts,tsx}":["prettier --write","tslint -c ./tslint.json --fix","git add"],"*.{json,css,scss,md,graphl,js,jsx}":["prettier --write","git add"]},"_nodeVersion":"10.9.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^23.6.0","husky":"^1.2.1","rollup":"^0.68.2","tslint":"^5.12.0","ts-jest":"^23.10.5","prettier":"^1.15.3","typescript":"^3.2.2","@types/jest":"^23.3.10","@types/node":"^10.12.18","lint-staged":"^8.1.0","tslint-eslint-rules":"^5.4.0","rollup-plugin-terser":"^3.0.0","rollup-plugin-commonjs":"^9.2.0","tslint-config-prettier":"^1.17.0","rollup-plugin-sourcemaps":"^0.4.2","rollup-plugin-typescript2":"^0.18.1"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle_3.3.0_1545917062861_0.07513452160790002","host":"s3://npm-registry-packages"}},"3.4.0":{"name":"promise-parallel-throttle","version":"3.4.0","keywords":["promise","async","parallel","throttle","promise.all()","sync","synchronously"],"author":{"url":"http://dirkjanwassink.nl","name":"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@3.4.0","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"8c35b9ca93dbca9d7b50368cea08de1e0f0cf20f","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.4.0.tgz","fileCount":12,"integrity":"sha512-X6Dh7xaTTPpWVYkQIYpzu9L28WX9pu7G+6qnb0zofIkDTnjRhMnhLX2t30KQ9/7b3T0jWazqd1swJ6toXo6HQA==","signatures":[{"sig":"MEUCIGu/NbbBjhi7woemxZqDp5DwZQGx+m6JYPZNG04Kixq6AiEAxlpwNBCIhdIfDeONFH5aaeCBaMyaQ385xOdna2Lip1E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38899},"jest":{"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{"^.+\\.tsx?$":"ts-jest"},"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"main":"dist/lib/throttle.js","types":"dist/types/throttle.d.ts","module":"dist/lib/throttle.mjs","engines":{"node":">=20.11.0","yarn":">=1.22.0"},"gitHead":"5eb29ec3c636f0e466631bcea2672efb1ec9fd11","scripts":{"lint":"tslint -p ./tsconfig.json","test":"yarn lint && jest --coverage --no-cache","build":"tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript","start":"rollup -c rollup.config.ts -w --configPlugin typescript","prepare":"husky install","lint:fix":"tslint -p ./tsconfig.json --fix","prebuild":"rimraf dist","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,graphl}\" --ignore-path .gitignore","prepublish":"npm run build","test:watch":"jest --watch"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"10.2.4","description":"Run promises in parallel, but throttled","directories":{},"lint-staged":{"*.{ts,tsx}":["prettier --write","tslint -c ./tslint.json --fix"],"*.{json,css,scss,md,graphl,js,jsx}":["prettier --write"]},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.0.11","rimraf":"^5.0.5","rollup":"^4.11.0","tslint":"^6.1.3","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.19","lint-staged":"^15.2.2","tslint-eslint-rules":"^5.4.0","@rollup/plugin-terser":"^0.4.4","tslint-config-prettier":"^1.18.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle_3.4.0_1708080334425_0.8250374747074516","host":"s3://npm-registry-packages"}},"3.4.1":{"name":"promise-parallel-throttle","version":"3.4.1","keywords":["promise","async","parallel","throttle","promise.all()","sync","synchronously"],"author":{"url":"http://dirkjanwassink.nl","name":"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com"},"license":"MIT","_id":"promise-parallel-throttle@3.4.1","maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"dist":{"shasum":"d415a8645298a820b7b6e6c1909b44335e37b3a3","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.4.1.tgz","fileCount":12,"integrity":"sha512-aurKMPfoh9rhyS9AO7y0k7UmTzMTfxn55GZLP2415anFuHo0vaG4TOE1nOprAjD/GP2uNT0rkWwRH7Ihdt7y5A==","signatures":[{"sig":"MEUCIQDhJOwZ+C5h7O4q8+iU1HSAPKCbUfORi0C+b8ht5NZPUQIgVli91apdu9KvyXLTwu54yiQRqAdB/5S78QC3tzw9e7g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38819},"jest":{"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","transform":{"^.+\\.tsx?$":"ts-jest"},"moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"main":"dist/lib/throttle.js","types":"dist/types/throttle.d.ts","module":"dist/lib/throttle.mjs","gitHead":"a4616635399dcbd47b6e09d7132bc8a1ecdc181f","scripts":{"lint":"tslint -p ./tsconfig.json","test":"yarn lint && jest --coverage --no-cache","build":"tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript","start":"rollup -c rollup.config.ts -w --configPlugin typescript","prepare":"husky install","lint:fix":"tslint -p ./tsconfig.json --fix","prebuild":"rimraf dist","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,graphl}\" --ignore-path .gitignore","prepublish":"npm run build","test:watch":"jest --watch"},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"repository":{"url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git","type":"git"},"_npmVersion":"10.2.4","description":"Run promises in parallel, but throttled","directories":{},"lint-staged":{"*.{ts,tsx}":["prettier --write","tslint -c ./tslint.json --fix"],"*.{json,css,scss,md,graphl,js,jsx}":["prettier --write"]},"_nodeVersion":"20.11.0","_hasShrinkwrap":false,"devDependencies":{"jest":"^29.7.0","husky":"^9.0.11","rimraf":"^5.0.5","rollup":"^4.11.0","tslint":"^6.1.3","ts-jest":"^29.1.2","prettier":"^3.2.5","typescript":"^5.3.3","@types/jest":"^29.5.12","@types/node":"^20.11.19","lint-staged":"^15.2.2","tslint-eslint-rules":"^5.4.0","@rollup/plugin-terser":"^0.4.4","tslint-config-prettier":"^1.18.0","@rollup/plugin-typescript":"^11.1.6"},"_npmOperationalInternal":{"tmp":"tmp/promise-parallel-throttle_3.4.1_1708118625095_0.6818496299359036","host":"s3://npm-registry-packages"}},"3.5.0":{"name":"promise-parallel-throttle","version":"3.5.0","keywords":["promise","async","parallel","throttle","promise.all()","sync","synchronously"],"description":"Run promises in parallel, but throttled","main":"dist/lib/throttle.js","module":"dist/lib/throttle.mjs","types":"dist/types/throttle.d.ts","scripts":{"prepublish":"npm run build","test":"yarn lint && jest --coverage --no-cache","test:watch":"jest --watch","lint":"tslint -p ./tsconfig.json","lint:fix":"tslint -p ./tsconfig.json --fix","prettier":"prettier --write \"**/*.{ts,tsx,js,jsx,json,css,scss,md,graphl}\" --ignore-path .gitignore","prebuild":"rimraf dist","build":"tsc --module commonjs && rollup -c rollup.config.ts --configPlugin typescript","start":"rollup -c rollup.config.ts -w --configPlugin typescript","prepare":"husky install"},"repository":{"type":"git","url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git"},"author":{"name":"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com","url":"http://dirkjanwassink.nl"},"license":"MIT","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","jest":{"transform":{"^.+\\.tsx?$":"ts-jest"},"testRegex":"(/tests/.*|\\.(test|spec))\\.(ts|tsx|js)$","moduleFileExtensions":["ts","tsx","js","jsx","json","node"]},"lint-staged":{"*.{ts,tsx}":["prettier --write","tslint -c ./tslint.json --fix"],"*.{json,css,scss,md,graphl,js,jsx}":["prettier --write"]},"devDependencies":{"@rollup/plugin-terser":"^0.4.4","@rollup/plugin-typescript":"^11.1.6","@types/jest":"^29.5.12","@types/node":"^20.11.19","husky":"^9.0.11","jest":"^29.7.0","lint-staged":"^15.2.2","prettier":"^3.2.5","rimraf":"^5.0.5","rollup":"^4.11.0","ts-jest":"^29.1.2","tslint":"^6.1.3","tslint-config-prettier":"^1.18.0","tslint-eslint-rules":"^5.4.0","typescript":"^5.3.3"},"licenseText":"MIT License\n\nCopyright (c) 2016 Dirk-Jan Wassink\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"promise-parallel-throttle@3.5.0","dist":{"shasum":"9d527c71b1e399a73f8f3f1112cd3a692c01cde5","integrity":"sha512-PXqj8TEaYMV6pQd6IVPoMjRrOHh2o/vxbWbt5eUxPuuAplrLgcdzo3KGqh2aT0A4Se6JSQxoGnB8CSIXeAOLvQ==","tarball":"https://registry.npmjs.org/promise-parallel-throttle/-/promise-parallel-throttle-3.5.0.tgz","fileCount":20,"unpackedSize":38960,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA5y2NOsybl9a7zug6wSj4pnKXnHYkKftt24EuR4XynsAiBQCTBvWFElyJ7xGZ61eTZas5FrmW2BMfB4CZJWj7dpdg=="}]},"_npmUser":{"name":"hylix","email":"dirk.jan.wassink@gmail.com"},"directories":{},"maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/promise-parallel-throttle_3.5.0_1716989451217_0.10913438173013645"},"_hasShrinkwrap":false}},"time":{"created":"2016-10-20T20:45:19.907Z","modified":"2024-05-29T13:30:51.545Z","1.0.0":"2016-10-20T20:45:19.907Z","2.0.0":"2016-10-28T21:20:24.552Z","2.0.1":"2016-10-29T17:30:21.945Z","2.1.0":"2016-11-14T13:13:34.787Z","2.2.0":"2016-11-16T09:52:32.156Z","2.3.0":"2017-04-28T09:34:04.164Z","2.3.1":"2017-04-28T14:48:19.347Z","2.3.2":"2017-04-28T15:04:18.841Z","2.4.0":"2017-04-29T15:33:02.877Z","2.5.0":"2017-04-29T16:34:17.079Z","3.0.0":"2017-05-04T19:22:40.982Z","3.1.0":"2017-11-16T13:59:28.905Z","3.2.0":"2018-08-20T11:39:25.091Z","3.3.0":"2018-12-27T13:24:22.987Z","3.4.0":"2024-02-16T10:45:34.561Z","3.4.1":"2024-02-16T21:23:45.326Z","3.5.0":"2024-05-29T13:30:51.377Z"},"maintainers":[{"name":"hylix","email":"dirk.jan.wassink@gmail.com"}],"author":{"name":"Dirk-Jan Wassink","email":"dirk.jan.wassink@gmail.com","url":"http://dirkjanwassink.nl"},"repository":{"type":"git","url":"git+https://github.com/DJWassink/Promise-parallel-throttle.git"},"keywords":["promise","async","parallel","throttle","promise.all()","sync","synchronously"],"license":"MIT","homepage":"https://github.com/DJWassink/Promise-parallel-throttle#readme","bugs":{"url":"https://github.com/DJWassink/Promise-parallel-throttle/issues"},"readme":"# Promise-parallel-throttle\n\n[![Build Status](https://github.com/DJWassink/Promise-parallel-throttle/actions/workflows/main.yml/badge.svg)](https://travis-ci.org/DJWassink/Promise-parallel-throttle)\n[![npm version](https://badge.fury.io/js/promise-parallel-throttle.svg)](https://badge.fury.io/js/promise-parallel-throttle)\n[![npm downloads](https://img.shields.io/npm/dm/promise-parallel-throttle.svg)](https://www.npmjs.com/package/promise-parallel-throttle)\n[![Bundlephobia](https://badgen.net/bundlephobia/min/promise-parallel-throttle)](https://bundlephobia.com/result?p=promise-parallel-throttle)\n[![Bundlephobia](https://badgen.net/bundlephobia/minzip/promise-parallel-throttle)](https://bundlephobia.com/result?p=promise-parallel-throttle)\n\nRun a array of Promises in parallel. Kinda like Promise.all(), but throttled!\n\n## Install\n\n### NPM\n\n```bash\nnpm i promise-parallel-throttle -S\n```\n\n### Yarn\n\n```bash\nyarn add promise-parallel-throttle\n```\n\n## Usage\n\n```js\nimport * as Throttle from 'promise-parallel-throttle';\n\n//Function which should return a Promise\nconst doReq = async (firstName, lastName) => {\n    //Do something async.\n    return firstName + ' ' + lastName;\n};\n\nconst users = [\n    {firstName: 'Irene', lastName: 'Pullman'},\n    {firstName: 'Sean', lastName: 'Parr'},\n];\n\n//Queue with functions to be run\nconst queue = users.map((user) => () => doReq(user.firstName, user.lastName));\n\n//Default Throttle runs with 5 promises parallel.\nconst formattedNames = await Throttle.all(queue);\n\nconsole.log(formattedNames); //['Irene Pullman', 'Sean Parr']\n```\n\n[![Edit Promise-parallel-throttle example](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/4x1943m2v7)\n\n## API\n\n### Throttle.all\n\n`Throttle.all(tasks, options)`\n\nThrottle.all is made to behave exactly like Promise.all but instead of all the tasks running in parallel it runs a maxium amount of tasks in parallel.\nOnly the tasks parameter is required while the [options](#options-object) parameter is optional.\n\n### Throttle.sync\n\n`Throttle.sync(tasks, options)`\n\nThrottle.sync runs all the tasks synchronously.\nOnce again the tasks array is required, the [options](#options-object) are optional.\nBe aware that this method is simply a wrapper to pass `maxInProgress` with 1. So overwriting this option in the options object would run the tasks again in parallel.\n\n### Throttle.raw\n\n`Throttle.raw(tasks, options)`\n\nThe raw method instead of returning the tasks their results, will return a [result](#result-object--progress-callback) object.\nUseful if you wan't more statistics about the execution of your tasks. Once again the tasks are required while the [options](#options-object) are optional.\n\n#### Option's Object\n\n| Parameter             | Type     | Default                                         | Definition                                                                                                                                                   |\n| :-------------------- | :------- | :---------------------------------------------- | :----------------------------------------------------------------------------------------------------------------------------------------------------------- |\n| maxInProgress         | Integer  | 5                                               | max amount of parallel threads                                                                                                                               |\n| failFast              | Boolean  | true (false for the [raw](#throttleraw) method) | reject after a single error, or keep running                                                                                                                 |\n| progressCallback      | Function | Optional                                        | callback with progress reports                                                                                                                               |\n| nextCheck             | Function | Optional                                        | function which should return a promise, if the promise resolved true the next task is spawn, errors will propagate and should be handled in the calling code |\n| ignoreIsFunctionCheck | Boolean  | false                                           | If one of the tasks is not a function an error is thrown, if this boolean is set to true we simply return the task itself                                    |\n\n#### Result object / Progress callback\n\nThe `progressCallback` and the `Raw` will return a `Result` object with the following properties:\n\n| Property               | Type    | Start value | Definition                                                                                   |\n| :--------------------- | :------ | :---------- | :------------------------------------------------------------------------------------------- |\n| lastCompletedIndex     | Integer | -1          | last index of a task that is completed (either fulfilled or rejected)                        |\n| amountDone             | Integer | 0           | amount of tasks which are finished                                                           |\n| amountStarted          | Integer | 0           | amount of tasks which started                                                                |\n| amountResolved         | Integer | 0           | amount of tasks which successfully resolved                                                  |\n| amountRejected         | Integer | 0           | amount of tasks which returned in an error and are aborted                                   |\n| amountNextCheckFalsey  | Integer | 0           | amount of tasks which got a falsey value in the [nextCheck](#nextcheck)                      |\n| rejectedIndexes        | Array   | []          | all the indexes in the tasks array where the promise rejected                                |\n| resolvedIndexes        | Array   | []          | all the indexes in the tasks array where the promise resolved                                |\n| nextCheckFalseyIndexes | Array   | []          | all the indexes in the tasks array where the [nextCheck](#nextcheck) returned a falsey value |\n| taskResults            | Array   | []          | array containing the result of every task                                                    |\n\n#### nextCheck\n\nAll the `Throttle` methods have a `nextCheck` method which will be used to verify if a next task is allowed to start.\n\nThe default `nextCheck` is defined like this;\n\n```js\nconst defaultNextTaskCheck = (status, tasks) => {\n    return new Promise((resolve, reject) => {\n        resolve(status.amountStarted < tasks.length);\n    });\n};\n```\n\nThis function will get a status object as parameter which adheres to the [Result object](#result-object--progress-callback) and it also receives the list of tasks.\nIn the default `nextCheck` we simply check if the amount of started exceeds the amount to be done, if not we are free to start an other task.\n\nThis function can be useful to write your own scheduler based on, for example ram/cpu usage.\nLets say that your tasks use a lot of ram and you don't want to exceed a certain amount.\nYou could then write logic inside a `nextCheck` function which resolves after there is enough ram available to start the next task.\n\nIf a custom implementation decides to reject, the error is propagated and should be handled in the user it's code. If a custom implementation returns a falsey value the task will simply not execute and the next task will be scheduled.\n\n## Example\n\nCheck out the example's directory, it's heavily documented so it should be easy to follow.\n\nTo run the example, at least Node 8.x.x is required, since it supports native async/await.\n\nSimply run the example with npm:\n\n```\nnpm run-script names\n```\n\nOr with Yarn:\n\n```\nyarn names\n```\n","readmeFilename":"README.md","users":{"hylix":true,"cronfy":true,"mdrobny":true}}