graphql-query-compress
JSON →A lightweight utility (v1.2.4, last updated in 2019, no active release cadence) that compresses GraphQL query strings by removing unnecessary whitespace and comments. Key differentiator: minimal dependency, focuses solely on string compression without parsing the GraphQL AST, making it fast and suitable for reducing payload size over network. Ships built-in TypeScript declarations. Not to be confused with graphql-compress or graphql-query-complexity.
Resources
packagegraphql-query-compress ↗
API endpoints
full doc /v1/registry/graphql-query-compress