Typed GraphQL Builder
JSON →A GraphQL query builder v5.1.2 that replaces string-based `gql` queries or `.graphql` files with pure TypeScript code generation. It generates `TypedDocumentNode` objects compatible with Apollo Client, Urql, graphql-request, and any other library supporting `TypedDocumentNode`. Unlike code-first approaches like GraphQL Code Generator, this library provides a fully typed builder API that reduces boilerplate and catches errors at compile time. The generated API uses a functional, composable syntax with automatic variable type inference via the `$` and `$$` helpers. Released under MIT, updated frequently with breaking changes in major versions.
Resources
packagetyped-graphql-builder ↗
API endpoints
full doc /v1/registry/typed-graphql-builder