UNPKG

zenin-limiter

Version:

Universal rate & throttle limiter middleware for Express, Fastify, and custom handlers

70 lines (69 loc) 1.68 kB
{ "name": "zenin-limiter", "version": "2.0.0", "description": "Universal rate & throttle limiter middleware for Express, Fastify, and custom handlers", "main": "dist/index.js", "scripts": { "build": "tsup", "dev": "tsup --watch", "test": "vitest" }, "files": [ "dist" ], "module": "dist/index.mjs", "types": "dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.js" }, "./package.json": "./package.json" }, "keywords": [ "rate-limiter", "middleware", "express", "fastify", "nestjs", "throttle", "rate-limiting", "api-protection", "security" ], "author": "Naresh Barath VP", "license": "ISC", "repository": { "type": "git", "url": "git+https://github.com/nareshbarathvp/zenin-limiter" }, "bugs": { "url": "https://github.com/nareshbarathvp/zenin-limiter/issues" }, "homepage": "https://github.com/nareshbarathvp/zenin-limiter#readme", "devDependencies": { "@nestjs/common": "^11.1.5", "@nestjs/core": "^11.1.5", "@nestjs/testing": "^11.1.5", "@types/express": "^5.0.3", "@types/node": "^20.6.0", "express": "^5.1.0", "fastify": "^5.4.0", "reflect-metadata": "^0.2.2", "rxjs": "^7.8.2", "supertest": "^7.1.4", "tsup": "^8.5.0", "typescript": "^5.4.2", "vitest": "^3.2.4" }, "peerDependencies": { "@nestjs/common": "^9.0.0 || ^10.0.0 || ^11.0.0", "@nestjs/core": "^9.0.0 || ^10.0.0 || ^11.0.0", "express": "^4.0.0 || ^5.0.0", "fastify": "^4.0.0 || ^5.0.0" }, "engines": { "node": ">=16.0.0" } }