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.
Star History
Momentum
+282
STARS · LAST 30 DAYS
9
PER DAY
#103
MOST-STARRED TypeScript
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +63 | +282 | +810 |
| Per day | 9 | 9 | 9 |
| Forks gained | +7 | +28 | +70 |
graphql-code-generator gained 282 stars in the last 30 days, about 9 a day, and now has 11.3K. It is about 10 years old and has averaged roughly 1.1K stars a year. It ranks #103 among TypeScript repositories and #638 across all languages on GitHubRepo.
Trending Record
3
DAYS ON TRENDING
#1080
BEST RANK
Sep 26, 2026
FIRST APPEARANCE
Active
STATUS TODAY
graphql-code-generator has maintained a continuous presence across global trending indexes, peaking at #1080. Below is the 30-day activity profile:
💡 Overview
graphql-code-generator is an open-source project written in TypeScript: A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins. .
Engineered for speed, consistency, and developer ease, it solves common hurdles in android, angular, code-generator. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.
⚡ Key Features
Optimized execution pipeline written in TypeScript for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ npm install graphql-code-generator
⚙ System Requirements
Platforms
- • macOS
- • Linux
- • Windows
Runtime & Dependencies
Node.js >= 18, npm, pnpm or bun
Architecture
x86_64, ARM64 (Apple Silicon & Graviton)
🧠 How It Works
graphql-code-generator coordinates its core functionality through a modular TypeScript pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.
🎯 Production Use Cases
Modern Web Interfaces
Build dynamic, responsive user experiences with component-driven architecture.
Enterprise Design Systems
Standardize design tokens, accessible widgets, and themes across engineering teams.
Interactive Data Dashboards
Render real-time telemetry, user feeds, and analytics with sub-millisecond updates.
Cross-Platform Web Apps
Deploy performant single-page applications optimized for both mobile and desktop browsers.
🚀 Getting Started
Install graphql-code-generator using your package manager: `npm install graphql-code-generator`
Initialize your project workspace or configuration file for graphql-code-generator.
Import graphql-code-generator into your codebase or invoke it directly from your terminal.
Execute your test suite or run `graphql-code-generator --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 Who Should Use This
Developers and engineering teams building with TypeScript, seeking reliable, tested, and actively maintained tooling for production workloads.
🏆 Nearby in the Rankings
dotansimha/graphql-code-generator is currently ranked #638 by stars across every repository tracked on GitHubRepo. These are adjacent projects:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #633 | optiscaler/OptiScaler | C++ | ★ 11.4K | Compare ↗ |
| #634 | loft-sh/vcluster | Go | ★ 11.3K | Compare ↗ |
| #635 | yairm210/Unciv | Kotlin | ★ 11.3K | Compare ↗ |
| #636 | google/go-github | Go | ★ 11.3K | Compare ↗ |
| #637 | DmitryBaranovskiy/raphael | JavaScript | ★ 11.3K | Compare ↗ |
| #638 | dotansimha/graphql-code-generator This Project | TypeScript | ★ 11.3K | |
| #639 | openai/openai-node | TypeScript | ★ 11.2K | Compare ↗ |
| #640 | mRemoteNG/mRemoteNG | C# | ★ 11.1K | Compare ↗ |
| #641 | voxel51/fiftyone | TypeScript | ★ 11.1K | Compare ↗ |
| #642 | microsoft/winget-pkgs | — | ★ 11.1K | Compare ↗ |
| #643 | google/osv-scanner | Go | ★ 11.1K | Compare ↗ |
Frequently Asked Questions
What does graphql-code-generator do? +
A tool for generating code based on a GraphQL schema and GraphQL operations (query/mutation/subscription), with flexible support for custom plugins.
What language is graphql-code-generator written in? +
The primary language is TypeScript. Topics include: android, angular, code-generator, codegen, csharp.
Is graphql-code-generator actively maintained? +
Yes, the last recorded push was on Sep 28, 2026 with 469 open issues being tracked.
How many stars does graphql-code-generator have? +
graphql-code-generator has 11,262 stars and 1,401 forks on GitHub.
How does graphql-code-generator rank among GitHub repositories? +
With 11,262 stars, dotansimha/graphql-code-generator is ranked #638 globally across all repositories tracked on GitHubRepo and #103 among TypeScript projects.
What license is graphql-code-generator distributed under? +
The repository reports a MIT license. Always verify the repository LICENSE file for legal terms.