UNPKG

throttled-queue

Version:

Throttles arbitrary code to execute a maximum number of times per interval. Best for making throttled API requests.

55 lines (54 loc) 1.29 kB
{ "name": "throttled-queue", "version": "2.1.4", "description": "Throttles arbitrary code to execute a maximum number of times per interval. Best for making throttled API requests.", "main": "dist/throttledQueue.js", "types": "dist/throttledQueue.d.ts", "files": [ "dist/*", "src/*" ], "scripts": { "prepublishOnly": "tsc", "test": "mocha" }, "mocha": { "spec": "test/throttledQueue.test.ts", "extension": [ "ts" ], "require": [ "ts-node/register" ], "timeout": 200000 }, "repository": { "type": "git", "url": "git+https://github.com/shaunpersad/throttled-queue.git" }, "keywords": [ "node", "rate limit", "queue", "throttle", "throttled", "request" ], "author": "Shaun Persad <shaunpersad@gmail.com>", "license": "MIT", "bugs": { "url": "https://github.com/shaunpersad/throttled-queue/issues" }, "devDependencies": { "@types/mocha": "^9.0.0", "@types/node": "^17.0.8", "@typescript-eslint/eslint-plugin": "^5.9.0", "@typescript-eslint/parser": "^5.9.0", "eslint": "^8.6.0", "eslint-config-airbnb-typescript": "^16.1.0", "eslint-plugin-import": "^2.25.4", "mocha": "^9.1.3", "ts-node": "^10.4.0", "typescript": "^4.5.4" } }