UNPKG

@da440dil/js-counter

Version:

Distributed rate limiting using Redis

52 lines (51 loc) 1.4 kB
{ "name": "@da440dil/js-counter", "version": "0.12.0", "description": "Distributed rate limiting using Redis", "main": "lib/index.js", "scripts": { "test": "jest --runInBand", "test:coverage": "jest --runInBand --coverage", "lint": "eslint --ext .ts src examples benchmarks", "build": "rimraf lib && tsc -p tsconfig.build.json", "preversion": "npm run lint && npm run test", "prepublishOnly": "npm run build", "file": "ts-node", "coveralls": "jest --runInBand --coverage --coverageReporters=text-lcov | coveralls" }, "keywords": [ "distributed", "rate", "rate-limit", "rate-limiter", "rate-limiting", "redis" ], "author": "Anatoly Demidovich", "license": "MIT", "private": false, "engines": { "node": ">=12.0" }, "dependencies": { "@da440dil/js-redis-script": "^0.4.0" }, "devDependencies": { "@types/jest": "^27.4.1", "@types/node": "^17.0.23", "@typescript-eslint/eslint-plugin": "^5.18.0", "@typescript-eslint/parser": "^5.18.0", "coveralls": "^3.1.1", "eslint": "^8.13.0", "jest": "^27.5.1", "redis": "^4.0.6", "rimraf": "^3.0.2", "ts-jest": "^27.1.4", "ts-node": "^10.7.0", "typescript": "^4.6.3" }, "repository": { "type": "git", "url": "https://github.com/da440dil/js-counter.git" } }