{"library":"graphql-document-collector","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"0.2.2","tags":["javascript","graphql","document","project","collector"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install graphql-document-collector","imports":["const docs = require('./documents.json')","npx graphql-document-collector '**/*.graphql' > documents.json"]},{"cmd":"yarn add graphql-document-collector","imports":[]},{"cmd":"pnpm add graphql-document-collector","imports":[]}],"homepage":"https://github.com/rricard/graphql-document-collector#readme","github":"https://github.com/rricard/graphql-document-collector","docs":null,"changelog":null,"pypi":null,"npm":"graphql-document-collector","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}