graphql-document-collector

JSON →
library 0.2.2 ·javascript
verified Jun 7, 2026

CLI tool to collect all GraphQL queries, mutations, and subscriptions from a project into a single JSON file, resolving fragments inline. Version 0.2.2 (stable, low release cadence). It precompiles `.graphql` files into a single `documents.json` with AST format, intended for use with Apollo Client or similar GraphQL clients. Differentiator: automates fragment resolution and document bundling without build tool plugins.