UNPKG

@routup/rate-limit-redis

Version:

Red adapter for the routup rate-limit plugin.

71 lines (70 loc) 1.98 kB
{ "name": "@routup/rate-limit-redis", "version": "3.1.1", "description": "Red adapter for the routup rate-limit plugin.", "exports": { "./package.json": "./package.json", ".": { "types": "./dist/index.d.ts", "import": "./dist/index.mjs", "require": "./dist/index.cjs" } }, "main": "./dist/index.cjs", "module": "./dist/index.mjs", "types": "./dist/index.d.ts", "files": [ "dist/" ], "scripts": { "build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json", "build:js": "rollup -c", "build": "rimraf ./dist && cross-env NODE_ENV=production npm run build:js && npm run build:types", "lint": "eslint --ext .js,.ts ./src", "lint:fix": "npm run lint -- --fix" }, "author": { "name": "Peter Placzek", "email": "contact@tada5hi.net", "url": "https://github.com/tada5hi" }, "license": "MIT", "keywords": [ "rate", "limit", "request", "rate-limit", "rate-limter", "redis" ], "repository": { "type": "git", "url": "git+https://github.com/routup/plugins.git", "directory": "packages/rate-limit-redis" }, "bugs": { "url": "https://github.com/routup/plugins/issues" }, "homepage": "https://github.com/routup/plugins#readme", "peerDependencies": { "@routup/rate-limit": "^2.4.1", "redis-extension": "^1.x", "routup": "^4.0.1" }, "peerDependenciesMeta": { "redis-extension": { "optional": true } }, "devDependencies": { "@routup/rate-limit": "^2.4.1", "@types/supertest": "^6.0.2", "redis-extension": "^2.0.2", "routup": "^4.0.1", "supertest": "^7.1.1" }, "publishConfig": { "access": "public" }, "gitHead": "94d729e309c1eec0401afb4d8083f65ce3aa8e0b" }