A temporary clone of graphql-ast-types for browser environments, providing autogenerated helper functions to build and validate GraphQL AST nodes. This version (1.0.2) requires graphql ^0.11.7 and offers functions like document, operationDefinition, field, name, and is/assert helpers. It is a maintenance-only fork intended to be deleted once the upstream issue is resolved. Use at your own risk.
npm install graphql-ast-types-browserNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to build a GraphQL AST using namespace import and print it, plus usage of is/assert helpers.
Switch to 'graphql-ast-types' (note: requires graphql ^0.11.7).
Use a compatible graphql version or consider migrating to graphql-tag or other modern tools.
Use `import * as t from 'graphql-ast-types-browser'` or `const { document } = require('graphql-ast-types-browser')`.Run `npm install graphql-ast-types-browser` and ensure correct import path.
Use `import { document } from 'graphql-ast-types-browser'` instead of `import { document } from 'graphql-ast-types-browser'`Use `import * as t from 'graphql-ast-types-browser'` then `t.document(...)`.
Install graphql@^0.11.7: `npm install graphql@0.11.7`.