UNPKG

nestjs-graphql-rate-limit

Version:

Rate Limit module with Redis storage support for NestJS GraphQL APIs

65 lines (64 loc) 1.67 kB
{ "name": "nestjs-graphql-rate-limit", "version": "1.0.1", "description": "Rate Limit module with Redis storage support for NestJS GraphQL APIs", "author": "Oğuz Türkay <tyserract@gmail.com>", "license": "MIT", "readmeFilename": "README.md", "main": "dist/index.js", "files": [ "dist/**/*", "*.md" ], "scripts": { "start:dev": "tsc -w", "build": "tsc", "prepare": "npm run build", "format": "prettier --write \"src/**/*.ts\"", "lint": "tslint -p tsconfig.json -c tslint.json", "test": "jest", "test:watch": "jest --watch", "test:cov": "jest --coverage", "test:e2e": "jest --config ./test/jest-e2e.json" }, "keywords": [ "nestjs", "ratelimit", "rate limit", "graphql", "throttler", "redis", "redis rate limit" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/willyfwonka/nestjs-graphql-rate-limit" }, "bugs": "https://github.com/willyfwonka/nestjs-graphql-rate-limit", "dependencies": { "@nestjs/common": "^8.0.4", "@nestjs/config": "^1.0.0", "@nestjs/core": "^8.0.4", "@nestjs/throttler": "^1.1.4", "@types/node": "^16.3.3", "graphql": "^15.5.1", "ioredis": "^4.27.6", "reflect-metadata": "^0.1.13", "rimraf": "^3.0.2", "rxjs": "^7.2.0", "ts-morph": "^11.0.3", "typescript": "^4.3.5" }, "devDependencies": { "@apollo/gateway": "^0.33.0", "@nest/core": "^4.5.4", "@nestjs/graphql": "^8.0.2", "@nestjs/throttler": "^1.1.4", "@types/ioredis": "^4.26.6", "@types/redis": "^2.8.31", "apollo-server-core": "^3.0.1" } }