redis-sliding-rate-limiter
Version:
Flexible and performant rate limiter based on sliding window algorithm with arbitrary precision
51 lines (50 loc) • 1.2 kB
JSON
{
"name": "redis-sliding-rate-limiter",
"version": "6.0.0",
"description": "Flexible and performant rate limiter based on sliding window algorithm with arbitrary precision",
"engines": {
"node": ">=12.20.0"
},
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
"clean": "rm -fr build",
"build": "npm run clean && tsc",
"test": "jest --runInBand"
},
"repository": {
"type": "git",
"url": "git+https://github.com/spinlud/redis-sliding-rate-limiter.git"
},
"bugs": {
"url": "https://github.com/spinlud/redis-sliding-rate-limiter.git/issues"
},
"author": "Ludovico Fabbri",
"license": "MIT",
"devDependencies": {
"@types/express": "^4.17.21",
"@types/jest": "^29.5.10",
"@types/redis": "^4.0.10",
"@types/supertest": "^2.0.16",
"express": "^4.18.2",
"ioredis": "^5.3.2",
"jest": "^29.7.0",
"redis": "^4.6.11",
"supertest": "^6.3.3",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.3.2"
},
"keywords": [
"redis",
"ioredis",
"rate",
"limiter",
"throttle",
"sliding",
"rolling",
"window",
"express",
"middleware"
]
}