UNPKG

throttlers

Version:

[![Version](https://img.shields.io/npm/v/throttlers.svg)](https://www.npmjs.com/package/throttlers) [![Maintenance](https://img.shields.io/maintenance/yes/2025)](https://github.com/havelessbemore/throttlers/graphs/commit-activity) [![License](https://img.

97 lines (96 loc) 2.14 kB
{ "$schema": "http://json.schemastore.org/package.json", "name": "throttlers", "version": "0.1.0", "description": "", "license": "MIT", "type": "module", "sideEffects": false, "publishConfig": { "access": "public" }, "homepage": "https://github.com/havelessbemore/throttlers", "repository": { "type": "git", "url": "git+https://github.com/havelessbemore/throttlers.git" }, "bugs": { "url": "https://github.com/havelessbemore/throttlers/issues" }, "funding": { "type": "individual", "url": "https://github.com/sponsors/havelessbemore" }, "author": { "name": "Michael Rojas", "url": "https://github.com/havelessbemore" }, "keywords": [ "throttle", "rate-limit", "token-bucket", "leaky-bucket", "sliding-window", "fixed-window", "backpressure", "typescript", "throttler" ], "exports": { ".": { "types": "./dist/esm/index.d.ts", "require": "./dist/cjs/index.cjs", "import": "./dist/esm/index.js" } }, "typesVersions": { "*": { "*": [ "dist/esm/index.d.ts" ] } }, "files": [ "dist", "README.md", "LICENSE" ], "engines": { "node": ">=18.6" }, "scripts": { "build": "tsup", "build:docs": "typedoc", "format": "prettier --write .", "lint": "eslint .", "test": "jest --runInBand", "test:coverage": "jest --coverage", "prepare": "husky" }, "devDependencies": { "@eslint/js": "^9.26.0", "@eslint/json": "^0.13.0", "@types/jest": "^30.0.0", "@types/node": "^24.1.0", "cross-env": "^10.0.0", "esbuild": "^0.25.4", "eslint": "^9.32.0", "eslint-config-prettier": "^10.1.8", "globals": "^16.1.0", "husky": "^9.1.7", "jest": "^30.0.5", "jest-junit": "^16.0.0", "lint-staged": "^16.0.0", "prettier": "^3.5.3", "ts-jest": "^29.3.3", "ts-node": "^10.9.2", "tsup": "^8.5.0", "typedoc": "^0.28.7", "typedoc-plugin-markdown": "^4.7.1", "typescript": "^5.8.3", "typescript-eslint": "^8.38.0" }, "dependencies": { "wait-utils": "^2.1.0" } }