UNPKG

limiter

Version:

A generic rate limiter for the web and node.js. Useful for API clients, web crawling, or other tasks that need to be throttled

66 lines (65 loc) 1.92 kB
{ "name": "limiter", "description": "A generic rate limiter for the web and node.js. Useful for API clients, web crawling, or other tasks that need to be throttled", "version": "4.1.0", "author": "John Hurliman <jhurliman@jhurliman.org>", "main": "./dist/cjs/index.js", "module": "./dist/esm/index.js", "browser": "./dist/esm/index.js", "exports": { "import": { "types": "./dist/esm/index.d.ts", "default": "./dist/esm/index.js" }, "require": { "types": "./dist/cjs/index.d.ts", "default": "./dist/cjs/index.js" } }, "repository": "https://github.com/jhurliman/node-rate-limiter.git", "bugs": { "url": "https://github.com/jhurliman/node-rate-limiter/issues" }, "license": "MIT", "files": [ "dist", "src", "CHANGELOG.md", "!**/*.test.*", "!**/*.tsbuildinfo" ], "jest": { "moduleNameMapper": { "^(.*)\\.js$": "$1" } }, "scripts": { "lint": "eslint --fix src", "lint:ci": "eslint src", "prepack": "tsc -p tsconfig.json && tsc -p tsconfig.cjs.json && node ./create-package-json.js", "test": "jest src" }, "devDependencies": { "@babel/core": "^7.24.4", "@babel/preset-env": "^7.24.4", "@babel/preset-typescript": "^7.24.1", "@types/babel__generator": "^7.6.8", "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^8.32.0", "@typescript-eslint/parser": "^8.32.0", "babel-jest": "^29.7.0", "eslint": "^9.1.0", "eslint-plugin-jest": "^28.11.0", "eslint-plugin-prettier": "^5.1.3", "jest": "^29.7.0", "prettier": "^3.2.5", "typescript": "^5.4.5" }, "keywords": [ "rate", "limiting", "throttling" ], "packageManager": "yarn@1.22.19+sha512.ff4579ab459bb25aa7c0ff75b62acebe576f6084b36aa842971cf250a5d8c6cd3bc9420b22ce63c7f93a0857bc6ef29291db39c3e7a23aab5adfd5a4dd6c5d71", "types": "./dist/cjs/index.d.ts" }