graphql-typed-client

JSON →
library 1.7.4 ·javascript maintenance
verified Jun 7, 2026

A code generation tool that produces a strongly typed GraphQL client library for any endpoint. Version 1.7.4 is the latest stable release. It enables writing GraphQL queries as plain JavaScript objects with full TypeScript type safety, auto-completion, custom scalar mapping, and type guards. The client supports chain request syntax and raw request syntax, generating standard GraphQL queries from idiomatic JS. Unlike generic GraphQL clients (e.g., graphql-request), this package generates a tailored client per schema, offering superior developer experience for TypeScript projects. Maintenance appears low, with the last release in 2020.