GraphQL速率限制器

GraphQL速率限制器允许您将速率限制添加到查询或突变中。它的特点包括:

  • 与任何Node.js GraphQL设置一起使用
  • 根据查询或突变参数添加过滤器
  • 自定义错误消息
  • 使用Redis、Postgres、Mongo等自定义存储
zip
graphql-rate-limit-master.zip 预估大小:40个文件
folder
graphql-rate-limit-master 文件夹
folder
example 文件夹
file
index.js 3KB
file
package.json 424B
file
.gitignore 77B
file
README.md 319B
file
yarn.lock 111KB
file
package.json 2KB
file
tsconfig.module.json 177B
folder
.github 文件夹
file
PULL_REQUEST_TEMPLATE.md 261B
file
ISSUE_TEMPLATE.md 354B
file
.prettierignore 82B
file
LICENSE 1KB
folder
src 文件夹
folder
lib 文件夹
file
rate-limit-error.ts 234B
file
rate-limit-shield-rule.ts 1KB
file
rate-limit-error.spec.ts 365B
file
rate-limit-shield-rule.spec.ts 409B
file
store.ts 565B
file
batch-request-cache.ts 639B
file
in-memory-store.spec.ts 1KB
file
types.ts 2KB
file
in-memory-store.ts 1KB
file
field-directive.spec.ts 364B
file
redis-store.ts 2KB
file
get-graphql-rate-limiter.spec.ts 5KB
file
integration.spec.ts 5KB
file
field-directive.ts 2KB
file
get-graphql-rate-limiter.ts 5KB
file
redis-store.spec.ts 1KB
file
index.ts 385B
file
.npmignore 150B
file
.eslintrc.js 813B
file
tsconfig.json 721B
file
.gitignore 88B
file
CHANGELOG.md 288B
folder
.circleci 文件夹
file
config.yml 1KB
file
README.md 6KB
file
yarn.lock 222KB
file
.editorconfig 255B
folder
.vscode 文件夹
file
launch.json 1KB
file
settings.json 219B
file
debug-ts.js 1012B
zip 文件大小:152.89KB