{"library":"typed-graphql-builder","type":"library","category":null,"description":"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.","language":"javascript","status":"active","version":"5.1.2","tags":["javascript","typescript"],"last_verified":"Sun Jun 07","install":[{"cmd":"npm install typed-graphql-builder","imports":["import { query } from './generated-api'","import { $ } from './generated-api'","import type { TypedDocumentNode } from '@graphql-typed-document-node/core'"]},{"cmd":"yarn add typed-graphql-builder","imports":[]},{"cmd":"pnpm add typed-graphql-builder","imports":[]}],"homepage":"https://github.com/typed-graphql-builder/typed-graphql-builder#readme","github":"https://github.com/typed-graphql-builder/typed-graphql-builder","docs":null,"changelog":null,"pypi":null,"npm":"typed-graphql-builder","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}