UNPKG

redis-gcra

Version:

Rate limiting based on Generic Cell Rate Algorithm

59 lines (58 loc) 1.35 kB
{ "name": "redis-gcra", "version": "0.6.0", "description": "Rate limiting based on Generic Cell Rate Algorithm", "main": "lib/index.js", "types": "index.d.ts", "homepage": "https://github.com/Losant/redis-gcra#readme", "author": "Losant <hello@losant.com>", "license": "MIT", "type": "module", "keywords": [ "GCRA", "redis", "limit", "throttle" ], "bugs": { "url": "https://github.com/Losant/redis-gcra/issues" }, "directories": { "test": "./test", "example": "./examples", "lib": "./lib" }, "engines": { "node": ">=20" }, "scripts": { "lint": "eslint . --ext .js", "lint:fix": "yarn lint --fix", "lint:changed": "lint-staged", "test": "mocha test 2>&1", "test:watch": "mocha --watch test 2>&1", "reinstall": "rm -rf node_modules && yarn install" }, "repository": { "type": "git", "url": "git+https://github.com/Losant/redis-gcra.git" }, "lint-staged": { "*.js": "eslint" }, "devDependencies": { "@losant/eslint-config-losant": "^2.0.1", "husky": "^9.1.7", "lint-staged": "^15.2.9", "mocha": "^11.1.0", "should": "^13.2.3", "ioredis": ">=4.0.0 <6.0.0", "redis": ">=4.1.0 <5.0.0" }, "mocha": { "reporter": "spec", "recursive": true, "require": "should", "check-leaks": true } }