GraphQL Query Batcher
JSON →GraphQL Query Batcher is a minimal (<700 bytes) JavaScript library that batches multiple GraphQL queries into a single HTTP request, reducing network overhead. Version 1.0.1 is current (unreleased yet, based on semver). It works by collecting queries within a configurable batch interval (default 6ms) and sending them together to a GraphQL endpoint that supports batching (e.g., Apollo Server). Key differentiators: extremely lightweight, zero dependencies, simple API with fetch and forceFetch methods. Unlike Apollo's batch link, this is standalone and framework-agnostic. Requires the server to accept an array of queries and return an array of results.
Resources
packagegraphql-query-batcher ↗
API endpoints
full doc /v1/registry/graphql-query-batcher