UNPKG

@devhuset-oss/ratelimit

Version:

A flexible rate limiting library with support for fixed and sliding windows using Valkey

62 lines (61 loc) 1.4 kB
{ "name": "@devhuset-oss/ratelimit", "version": "1.0.0", "description": "A flexible rate limiting library with support for fixed and sliding windows using Valkey", "main": "./dist/index.js", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "exports": { ".": { "require": "./dist/index.js", "import": "./dist/index.mjs", "types": "./dist/index.d.ts" } }, "files": [ "dist", "README.md", "LICENSE" ], "scripts": { "build": "tsup", "test": "bun test", "lint": "eslint 'src/**/*.ts'", "format": "prettier --write \"src/**/*.ts\"" }, "keywords": [ "rate-limit", "valkey", "redis", "sliding-window", "fixed-window", "typescript", "rate-limiting" ], "author": "Devhuset", "license": "MIT", "peerDependencies": { "iovalkey": "^0.3.1" }, "devDependencies": { "@types/bun": "latest", "@types/node": "^22.13.4", "@typescript-eslint/eslint-plugin": "^8.24.0", "@typescript-eslint/parser": "^8.24.0", "eslint": "^9.20.1", "eslint-config-prettier": "^10.0.1", "iovalkey": "^0.3.1", "prettier": "^3.5.1", "tsup": "^8.3.6", "typescript": "^5.7.3", "typescript-eslint": "^8.24.0" }, "repository": { "type": "git", "url": "git+https://github.com/devhuset-oss/ratelimit.git" }, "bugs": { "url": "https://github.com/devhuset-oss/ratelimit/issues" }, "homepage": "https://github.com/devhuset-oss/ratelimit#readme" }