UNPKG

ratelite

Version:

A simple, modern, and flexible Redis-based rate limiter for Express.js — built for real-world APIs, SaaS, and edge-compatible environments.

61 lines (60 loc) 1.31 kB
{ "name": "ratelite", "version": "1.0.3", "description": "A simple, modern, and flexible Redis-based rate limiter for Express.js — built for real-world APIs, SaaS, and edge-compatible environments. ", "main": "./dist/index.js", "types": "./dist/index.d.ts", "files": [ "dist", "LICENSE", "README.md" ], "type": "module", "scripts": { "build": "npx tsc", "start": "tsc && node dist/index.js", "lint": "eslint . --ext .ts", "test": "npx jest" }, "repository": { "type": "git", "url": "git+https://github.com/JayashSaini/Ratelite.git" }, "keywords": [ "typescript", "node.js", "express.js", "upstash/redis", "npm" ], "author": "Jayash Saini", "license": "MIT", "bugs": { "url": "https://github.com/JayashSaini/Ratelite/issues" }, "homepage": "https://ratelite.vercel.app", "devDependencies": { "@eslint/js": "^9.29.0", "@types/express": "^4.17.23", "@types/jest": "^30.0.0", "eslint": "^9.29.0", "globals": "^16.2.0", "jest": "^30.0.2", "ts-jest": "^29.4.0", "typescript": "^5.8.3", "typescript-eslint": "^8.34.1" }, "dependencies": { "@upstash/redis": "^1.35.0" }, "peerDependencies": { "express": "^4.17.1" }, "jest": { "preset": "ts-jest", "testEnvironment": "node", "testMatch": [ "**/?(*.)+(spec|test).[tj]s?(x)" ] } }