{"library":"graphql-limiter","type":"library","category":null,"description":"GraphQLGate is a rate-limiting library for Node.js and Express that uses query complexity analysis to prevent abusive GraphQL queries. It assigns weights to fields, mutations, and queries to estimate response size, then throttles requests based on token bucket, fixed window, or sliding window algorithms backed by Redis. Version 1.3.0 is current; developed under OSLabs, inspired by IBM research. Key differentiators: depth limits, bounded list enforcement, and customizable type weights. Ships TypeScript definitions.","language":"javascript","status":"active","version":"1.3.0","tags":["javascript","graphql","graphqlgate","rate-limiting","throttling","query","express","complexity","analysis","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install graphql-limiter","imports":["import { expressGraphQLRateLimiter } from 'graphql-limiter'","import { graphQLRateLimiter } from 'graphql-limiter'","import { setRequestTime } from 'graphql-limiter'","import { setMD5Operation } from 'graphql-limiter'"]},{"cmd":"yarn add graphql-limiter","imports":[]},{"cmd":"pnpm add graphql-limiter","imports":[]}],"homepage":"https://github.com/oslabs-beta/GraphQL-Gate#readme","github":"https://github.com/oslabs-beta/graphql-gate","docs":null,"changelog":null,"pypi":null,"npm":"graphql-limiter","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}