graphql-cost-analysis
JSON →GraphQL query cost analysis library for protecting GraphQL servers against DoS attacks by computing and limiting query cost. Version 1.0.3, stable with infrequent releases. Supports cost directives and Type Map objects for per-field cost configuration. Differentiates by integrating as a validation rule in graphql-js servers (express-graphql, Apollo Server). Requires graphql >=0.11.7 as peer dependency. Allows dynamic cost multipliers based on arguments like pagination limits.
Resources
packagegraphql-cost-analysis ↗
API endpoints
full doc /v1/registry/graphql-cost-analysis