@graphql-codegen/typescript-operations
GraphQL Code Generator plugin for generating TypeScript types from GraphQL queries and mutations.
How @graphql-codegen/typescript-operations is used
@graphql-codegen/typescript-operations is a dependency in 11 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 21 projects, and what it is used with below comes from all of them. Projects that use it most often also use GraphQL Code Generator (100.0%), @graphql-codegen/typescript (100.0%), Prettier (76.2%).
@graphql-codegen/typescript-operations popularity over time
Gid Score 56: downloads 78, use in agent projects 28, GitHub stars 52, downloads trend 58 (each 0-100). How it is calculated.
Often used with @graphql-codegen/typescript-operations
| GraphQL Code Generator | 100.0% of @graphql-codegen/typescript-operations projects · 310.4× more than average |
|---|---|
| @graphql-codegen/typescript | 100.0% of @graphql-codegen/typescript-operations projects · 477.5× more than average |
| Prettier | 76.2% of @graphql-codegen/typescript-operations projects · 3.6× more than average |
| GraphQL.js | 66.7% of @graphql-codegen/typescript-operations projects · 106.1× more than average |
| Apollo Client | 52.4% of @graphql-codegen/typescript-operations projects · 203.2× more than average |
| Radix UI | 52.4% of @graphql-codegen/typescript-operations projects · 4.0× more than average |
| Testing Library | 52.4% of @graphql-codegen/typescript-operations projects · 5.2× more than average |
| jsdom | 47.6% of @graphql-codegen/typescript-operations projects · 4.9× more than average |
From all 21 projects in our scan that use @graphql-codegen/typescript-operations, including the dependency samples.
By coding agent
| Claude Code | 0.2% of projects set up for it |
|---|---|
| Cursor | 0.3% of projects set up for it |
Share of public repos configured for each agent that list @graphql-codegen/typescript-operations as a dependency.
Install
| Package | npm install @graphql-codegen/typescript-operations |
|---|---|
| Main stacks | TypeScript / JavaScript (14), Next.js (4), Ruby (2), React Native / Expo (1) |
| Example projects | zammad/zammad, commercetools/merchant-center-application-kit, ArtBlocks/artblocks-contracts, agent0lab/agent0-ts, balancer/b-sdk |
Alternatives to @graphql-codegen/typescript-operations
In our scan, none of the most used tools in Prompts, structured output and evals does the same job as @graphql-codegen/typescript-operations: they are add-ons, companions or tools for a different task.
More in Prompts, structured output and evals: Ultracite tiktoken (Python) tokenizers LangSmith Langfuse (Python) GPT Tokenizer TokenLens tiktoken (JavaScript)