UNPKG

@yveskaufmann/koa2-ratelimit

Version:

IP rate-limiting middleware for Koajs 2. Use to limit repeated requests to APIs and/or endpoints such as password reset.

90 lines (89 loc) 2.05 kB
{ "name": "@yveskaufmann/koa2-ratelimit", "author": "Yves Kaufmann", "version": "1.1.1", "description": "IP rate-limiting middleware for Koajs 2. Use to limit repeated requests to APIs and/or endpoints such as password reset.", "main": "dist/index.js", "types": "dist/index.d.ts", "engines": { "node": ">=7.10.1" }, "people": [ { "name": "YSO CORP", "email": "contact@ysocorp.com", "url": "http://ysocorp.com" }, { "name": "Yves Kaufmann", "url": "https://github.com/yveskaufmann" } ], "repository": { "type": "git", "url": "https://github.com/yveskaufmann/koa2-ratelimit" }, "peerDependencies": { "mongoose": ">= 5", "redis": ">= 4.0.0", "sequelize": ">=5.8.7" }, "devDependencies": { "@types/mocha": "^9.1.1", "@types/koa": "^2.13.4", "@typescript-eslint/eslint-plugin": "^5.28.0", "@typescript-eslint/parser": "^5.28.0", "eslint": "^8.17.0", "expect": "^24.8.0", "mocha": "^6.1.4", "prettier": "^2.7.0", "ts-node": "^10.8.1", "typescript": "^4.7.3", "mongoose": ">= 5", "redis": ">= 4.0.0", "sequelize": ">=5.8.7" }, "scripts": { "lint": "eslint src test", "clean": "rm -rf ./dist", "build": "tsc", "test": "mocha -r ts-node/register --opts mocha.opts" }, "keywords": [ "koa2-ratelimit", "koa2-rate-limit", "koa-rate-limit", "koa2-ratelimit", "koa-ratelimit", "koa2-brute-force", "koa-brute-force", "koa2-bruteforce", "koa-bruteforce", "koa2", "rate", "limit", "sequelize", "mongodb", "ratelimit", "ratelimit-sequelize", "ratelimit-mongodb", "rate-limit", "rate-limit-sequelize", "rate-limit-mongodb", "middleware", "ip", "auth", "authorization", "security", "brute", "force", "bruteforce", "bruteforce-sequelize", "bruteforce-mongodb", "brute-force", "brute-force-sequelize", "brute-force-mongodb", "attack" ], "dependencies": {} }