UNPKG

express-rate-limiter-ts

Version:

A powerful, flexible and modern rate limiter middleware for Express.js written in TypeScript.

73 lines (72 loc) 1.79 kB
{ "name": "express-rate-limiter-ts", "version": "1.2.2", "description": "A powerful, flexible and modern rate limiter middleware for Express.js written in TypeScript.", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "dist" ], "scripts": { "test": "jest", "build": "tsc", "test:memory": "jest tests/rateLimiter.memory.test.ts", "test:dummy": "jest tests/rateLimiter.dummy.test.ts", "test:redis": "jest tests/rateLimiter.redis.test.ts", "test:mongo": "jest tests/rateLimiter.mongo.test.ts", "test:postgres": "jest tests/rateLimiter.postgres.test.ts", "test:all": "jest tests/rateLimiter.all.test.ts" }, "keywords": [ "express", "expressjs", "rate-limiter", "ratelimiter", "ratelimit", "limiter", "throttle", "typescript", "middleware", "security", "protection", "ddos", "api", "http", "request", "redis", "mongodb", "postgres", "admin", "admin-panel", "nodejs", "express-rate-limiter-ts" ], "author": "github.com/benemiryilmazer", "license": "ISC", "type": "commonjs", "dependencies": { "@nestjs/common": "^11.1.3", "@nestjs/core": "^11.1.3", "consola": "^3.4.2", "express": "^5.1.0", "express-rate-limiter-ts": "^1.2.1", "ioredis": "^5.6.1", "jsonwebtoken": "^9.0.2", "mongodb": "^6.17.0", "next-connect": "^1.0.0", "pg": "^8.16.3" }, "devDependencies": { "@types/express": "^4.17.23", "@types/jest": "^30.0.0", "@types/node": "^24.0.7", "@types/pg": "^8.15.4", "@types/supertest": "^6.0.3", "jest": "^30.0.3", "nodemon": "^3.1.10", "supertest": "^7.1.1", "ts-jest": "^29.4.0", "ts-node": "^10.9.2", "typescript": "^5.8.3" } }