FindSoftware

Hey API

Code generator that turns OpenAPI specifications into TypeScript clients, schemas and other generated code, published as @hey-api/openapi-ts.

Hey API is an OpenAPI code generator for TypeScript, published on npm as @hey-api/openapi-ts. It runs from the command line, from a package.json script or from a script that calls its createClient function, reads an OpenAPI specification and writes the generated client code into an output directory of the project. The generated clients target HTTP clients such as the Fetch API, Angular, Axios, Next.js and Nuxt, and the package accepts any OpenAPI specification.

The package is installed as a development dependency, and the build pipeline can run it through the Vite plugin the project publishes alongside it. The repository is a monorepo that holds other packages of the Hey API ecosystem.

The project is maintained by Hey API, and the license file names it as the copyright holder under the MIT license.

Worth knowing

The package states that it is in initial development and asks users to pin an exact version, and the project publishes migration notes for each breaking release. The project also operates a hosted Hey API Registry, at app.heyapi.dev, that stores specifications; the generator can read a specification from it by a registry name.

Identity

Status
Active
Maintainer
Hey API5
First release
20244

Rendering and deploy

Install with
npm2

Releases

Current major version
Pre-1.04
Last release
2026-06-224

Adoption

GitHub stars
5,5633
npm downloads a week
7,134,4167
Contributors
1836

Why these figures do not compare

Sources

  1. 2026-11-09: links
    heyapi.dev/
  2. 2026-11-09: links, Categories, Runtime, Minimum runtime, Install with
    heyapi.dev/docs/openapi/typescript/get-started
  3. 2026-11-09: links, Written in, GitHub stars
    api.github.com/repos/hey-api/hey-api
  4. 2026-11-09: First release, Current major version, Last release
    registry.npmjs.org/@hey-api%2fopenapi-ts
  5. 2026-11-09: Maintainer, License, License model
    raw.githubusercontent.com/hey-api/hey-api/main/LICENSE
  6. 2026-11-09: Contributors
    api.github.com/repos/hey-api/hey-api/contributors?per_page=1
  7. 2026-11-09: npm downloads a week
    api.npmjs.org/downloads/range/2026-11-01:2026-11-07/@hey-api/openapi-ts

Last reviewed · Listed since Edit on GitHubThis page as markdownas JSON