[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70700":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":16,"forks30d":16,"starsTrendScore":16,"compositeScore":19,"rankGlobal":10,"rankLanguage":10,"license":20,"archived":21,"fork":21,"defaultBranch":22,"hasWiki":21,"hasPages":23,"topics":24,"createdAt":10,"pushedAt":10,"updatedAt":38,"readmeContent":39,"aiSummary":40,"trendingCount":16,"starSnapshotCount":16,"syncStatus":17,"lastSyncTime":41,"discoverSource":42},70700,"graphql-code-generator","dotansimha\u002Fgraphql-code-generator","dotansimha","A tool for generating code based on a GraphQL schema and GraphQL operations (query\u002Fmutation\u002Fsubscription), with flexible support for custom plugins. ","https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen\u002F",null,"TypeScript",11253,1392,74,495,0,2,10,44.43,"MIT License",false,"master",true,[25,26,27,28,29,30,31,32,33,34,35,36,37],"android","angular","code-generator","codegen","csharp","graphql","graphql-schema","java","react","resolvers","schema","the-guild","typescript","2026-06-12 02:02:42","\u003Cdiv>\n    \u003Cimg src=\".\u002Flogo.svg\" width=\"150px\" alt=\"GraphQL Code Generator logo\"\u002F>\n    \u003Ca href=\"https:\u002F\u002Fthe-guild.dev\">\n        \u003Cimg align=\"right\" src=\"https:\u002F\u002Fthe-guild-org.github.io\u002Fpress-kit\u002Ffull-dark-logo.svg\" alt=\"Created by The Guild\" style=\"width: 100px;align:right;\"\u002F>\n    \u003C\u002Fa>\n\u003C\u002Fdiv>\n\n[![npm version](https:\u002F\u002Fbadge.fury.io\u002Fjs\u002F%40graphql-codegen%2Fcli.svg)](https:\u002F\u002Fbadge.fury.io\u002Fjs\u002F%40graphql-codegen%2Fcli)\n\n[https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen](https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen)\n\nGraphQL Code Generator is a tool that generates code out of your GraphQL schema. Whether you are\ndeveloping a frontend or backend, you can utilize GraphQL Code Generator to generate output from\nyour GraphQL Schema and GraphQL Documents (query\u002Fmutation\u002Fsubscription\u002Ffragment).\n\nBy analyzing the schema and documents and parsing it, GraphQL Code Generator can output code at a\nwide variety of formats, based on pre-defined templates or based on custom user-defined ones.\nRegardless of the language that you're using, GraphQL Code Generator has you covered.\n\nGraphQL Code Generator lets you choose the output that you need, based on _plugins_, which are very\nflexible and customizable. You can also write your _plugins_ to generate custom outputs that match\nyour needs.\n\nYou can try this tool live on your browser and see some useful examples. Check out\n[GraphQL Code Generator Live Examples](https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen\u002F#live-demo).\n\nWe currently support and maintain [these plugins](https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen\u002Fplugins)\n(TypeScript, Flow, React, Angular, MongoDB, Stencil, Reason, and some more), and there is an active\ncommunity that writes and maintains custom plugins.\n\n## Quick Start\n\n> You can find the complete instructions in\n> [GraphQL Code Generator website](https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen\u002Fdocs\u002Fgetting-started\u002Finstallation).\n\nStart by installing the basic deps of GraphQL Codegen:\n\n```bash\npnpm add graphql\npnpm add -D @graphql-codegen\u002Fcli\n```\n\nGraphQL Code Generator lets you setup everything by simply running the following command:\n\n```bash\npnpm graphql-codegen init\n```\n\nQuestion by question, it will guide you through the whole process of setting up a schema, selecting\nplugins, picking a destination of a generated file, and a lot more.\n\nIf you wish to\n[manually setup codegen, follow these instructions](https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen\u002Fdocs\u002Fgetting-started\u002Finstallation).\n\n## Links\n\nBesides our [docs page](https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen\u002Fdocs\u002Fgetting-started), feel free to go\nthrough our published Medium articles to get a better grasp of what GraphQL Code Generator is all\nabout:\n\n- [All available plugins & presets](https:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen\u002Fplugins)\n\n## Contributing\n\nIf this is your first time contributing to this project, please do read our\n[Contributor Workflow Guide](https:\u002F\u002Fgithub.com\u002Fthe-guild-org\u002FStack\u002Fblob\u002Fmaster\u002FCONTRIBUTING.md)\nbefore you get started off.\n\nFeel free to open issues and pull requests. We're always welcome support from the community.\n\nFor a contribution guide specific to this project, please refer to:\nhttp:\u002F\u002Fthe-guild.dev\u002Fgraphql\u002Fcodegen\u002Fdocs\u002Fcustom-codegen\u002Fcontributing.\n\n## Code of Conduct\n\nHelp us keep GraphQL Code Generator open and inclusive. Please read and follow our\n[Code of Conduct](https:\u002F\u002Fgithub.com\u002Fthe-guild-org\u002FStack\u002Fblob\u002Fmaster\u002FCODE_OF_CONDUCT.md) as adopted\nfrom [Contributor Covenant](https:\u002F\u002Fcontributor-covenant.org)\n\n## License\n\n[![GitHub license](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-lightgrey.svg?maxAge=2592000)](https:\u002F\u002Fraw.githubusercontent.com\u002Fapollostack\u002Fapollo-ios\u002Fmaster\u002FLICENSE)\n\nMIT\n","GraphQL Code Generator 是一个基于 GraphQL 模式和操作（查询\u002F变更\u002F订阅）生成代码的工具，支持自定义插件。它能够解析 GraphQL 模式和文档，并根据预定义或用户自定义的模板生成多种格式的代码，适用于前端和后端开发。其核心功能包括高度灵活且可定制的插件系统，允许开发者根据需求创建自定义输出。此工具特别适合需要从 GraphQL 定义中自动化生成类型安全代码的项目，如使用 TypeScript、React 或 Angular 构建的应用程序。","2026-06-11 03:33:43","high_star"]