OpenAPI TypeScript
Generate TypeScript types from OpenAPI 3.0 and 3.1 schemas automatically.
Languages, types and runtimes npm MIT
Used in agent projects
21
0.2% of 12,697 public repos built with AI coding agents
Rank in languages, types and runtimes
#16 of 18
by use in those projects
Downloads
9.1M
npm, last 7 days, openapi-typescript
GitHub stars
8,396
last push Sep 25, 2026
How OpenAPI TypeScript is used
OpenAPI TypeScript is a dependency in 21 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.2%), #16 of 18 in languages, types and runtimes. The most used alternative there is TypeScript. Projects that use it most often also use Prettier (57.1%), Vitest (47.6%), TanStack Query (42.9%).
Often used with OpenAPI TypeScript
| Prettier | 57.1% of OpenAPI TypeScript projects · 3.3× more than average |
|---|---|
| Vitest | 47.6% of OpenAPI TypeScript projects · 3.9× more than average |
| TanStack Query | 42.9% of OpenAPI TypeScript projects · 4.5× more than average |
| TypeScript | 95.2% of OpenAPI TypeScript projects · 1.7× more than average |
| Playwright (JavaScript) | 38.1% of OpenAPI TypeScript projects · 4.3× more than average |
| React Hook Form | 33.3% of OpenAPI TypeScript projects · 4.1× more than average |
| Husky | 28.6% of OpenAPI TypeScript projects · 4.6× more than average |
| tsx | 33.3% of OpenAPI TypeScript projects · 3.4× more than average |
By coding agent
| Claude Code | 0.4% of projects set up for it |
|---|---|
| Cursor | 0.4% of projects set up for it |
| GitHub Copilot | 0.3% of projects set up for it |
| OpenAI Codex | 1.3% of projects set up for it |
| Gemini CLI | 1.1% of projects set up for it |
Share of public repos configured for each agent that list OpenAPI TypeScript as a dependency.
Install
| Package | npm install openapi-typescript |
|---|---|
| Main stacks | TypeScript / JavaScript (12), Next.js (4), Other (1), React Native / Expo (1) |
| Example projects | ding113/claude-code-hub, dutradotdev/mcp-portal-transparencia, adeze/raindrop-mcp, roycoprotocol/royco-sdk, cocos-pet/cocos-frontend |
Alternatives to OpenAPI TypeScript
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| TypeScript npm Language for application-scale JavaScript development with static type checking. |
7,092 (55.9%) | 305M | 111K | Apache-2.0 |
| tsx npm Node.js enhanced with esbuild to run TypeScript and ESM files. |
1,262 (9.9%) | 96.8M | 12.2K | MIT |
| ts-node npm TypeScript execution environment for Node.js with source map support. |
865 (6.8%) | 45.6M | 13.1K | MIT |
| vue-tsc npm TypeScript type checker for Vue.js single-file components. |
111 (0.9%) | 6.5M | 6,724 | MIT |
| tsconfig-paths npm Module resolution utility that loads Node.js modules according to TypeScript path mappings. |
86 (0.7%) | 113M | 1,908 | MIT |
| Cloudflare Workers Types npm TypeScript type definitions for Cloudflare Workers runtime. |
84 (0.7%) | 12.1M | 8,888 | MIT OR Apache-2.0 |
| jiti npm Runtime TypeScript and ESM support for Node.js without build steps. |
84 (0.7%) | 19M | 2,973 | MIT |
| CFFI pypi Foreign Function Interface for calling C code from Python. |
84 (0.7%) | 248M | 280 | — |