dotansimha/graphql-code-generator
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins. observed · 2026-08-28
Health v2 · maintenance only
95/100
- Activity 99
- Release rhythm 87
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 6
- age_days: 3558
- days_rel: 10
- days_push: 10
- n_releases_24m: 64
Adoption not part of the score
11264 stars · 1403 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
GraphQL Code Generator is a plugin-based CLI tool that generates typed code from GraphQL schemas and operations (queries, mutations, subscriptions, fragments). It supports many output targets including TypeScript types, typed React/Vue/Angular hooks, typed resolvers, and SDKs, with a rich ecosystem of community and custom plugins.
Use cases
- generate TypeScript types from a GraphQL schema
- generate typed React hooks for GraphQL queries and mutations
- generate typed GraphQL resolvers for a Node.js server
- create a fully-typed GraphQL SDK for my API
- avoid hand-writing types for GraphQL operations
- generate GraphQL client code for Vue or Angular
- write a custom codegen plugin for my GraphQL stack
When to choose
- you use GraphQL and want end-to-end type safety between schema, client, and server
- you work with React, Vue, Angular, Svelte, or Next.js and want typed queries/mutations
- you want typed resolvers for Node.js or Java GraphQL servers
- you need customizable code generation via plugins or presets
When to avoid
- your project does not use GraphQL
- you prefer hand-written types or a different codegen approach
- you need a non-JavaScript toolchain without Node.js available
Facets
cli-tool · maturity stable
graphql type-system cli plugin-system sdk web-development frontend backend developer-tools apis cli cross-platform graphql-codegen codegen typed-graphql the-guild typescript react angular vue resolvers schema code-generation graphql nodejs web
7 sources
- readme: https://github.com/dotansimha/graphql-code-generator · fetched 2026-08-28 · f9c8db72184c
- homepage: https://the-guild.dev/graphql/codegen/ · fetched 2026-08-29 · 5bf896fdfd28
- site_page: https://the-guild.dev/graphql/codegen/docs · fetched 2026-08-29 · 6ec83e4e3f1b
- site_page: https://the-guild.dev/graphql/codegen/docs/getting-started · fetched 2026-08-29 · 20be0720249a
- site_page: https://the-guild.dev/graphql/codegen/docs/custom-codegen/plugin-structure · fetched 2026-08-29 · 25bfe48eba1e
- site_page: https://the-guild.dev/about-us · fetched 2026-08-29 · 4c4f11519fb9
- site_page: https://the-guild.dev/graphql/hive · fetched 2026-08-29 · bc0e7312aef8
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| dotansimha/graphql-code-generator | main | 95 |
For agents
markdown · JSON · MCP: product_card(name="dotansimha/graphql-code-generator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem