helios1138/graphql-typed-client
A tool that generates a strongly typed client library for any GraphQL endpoint. The client allows writing GraphQL queries as plain JS objects (with type safety, awesome code completion experience, custom scalar type mapping, type guards and more)
This tool helps JavaScript/TypeScript developers interact with GraphQL APIs more easily and reliably. It takes a GraphQL API's schema definition or endpoint URL and generates a custom client library. This client allows developers to construct GraphQL queries using familiar JavaScript objects, providing built-in type safety, improved code completion, and runtime validation.
211 stars. No commits in the last 6 months. Available on npm.
Use this if you are a JavaScript/TypeScript developer frequently building applications that consume GraphQL APIs and want to reduce boilerplate, prevent common errors, and enhance developer experience through strong typing and intelligent code completion.
Not ideal if you are working with REST APIs, do not use JavaScript/TypeScript, or prefer to write raw GraphQL query strings directly in your application.
Stars
211
Forks
18
Language
TypeScript
License
MIT
Category
Last pushed
Aug 31, 2020
Commits (30d)
0
Dependencies
22
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ai-coding/helios1138/graphql-typed-client"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
mk3008/rawsql-ts
SQL-first lifecycle toolkit for testing, inspecting, and evolving database applications.
Shopify/syrup
A type-safe GraphQL model generator for Kotlin, Swift, and TypeScript.
denisart/graphql-query
Complete Domain Specific Language (DSL) for GraphQL query in Python.
swapnilmj/web-vqd
Design SQL "select" queries visually. SQL "joins" by drag-n-drop.
tomyitav/create-graphql-app
Cli tool for bootstrapping serverless GraphQL api