# Install openapi-typescript-codegen with npm

Library that generates Typescript clients based on the OpenAPI specification. Version 0.31.0 via npm; verified 2026-06-20.

## Install

```sh
sudo av install npm:openapi-typescript-codegen
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g openapi-typescript-codegen
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:openapi-typescript-codegen
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/openapi-typescript-codegen>
- **Version:** 0.31.0
- **Source summary:** Library that generates Typescript clients based on the OpenAPI specification.
- **Homepage:** <https://github.com/ferdikoomen/openapi-typescript-codegen>
- **Repository:** <https://github.com/ferdikoomen/openapi-typescript-codegen>
- **Upstream docs:** <https://github.com/ferdikoomen/openapi-typescript-codegen>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/openapi-typescript-codegen/-/openapi-typescript-codegen-0.31.0.tgz>
- **Issue tracker:** <https://github.com/ferdikoomen/openapi-typescript-codegen/issues>
- **Published:** 2026-06-20T19:05:22.935Z
- **Last updated:** 2026-06-20T19:05:22.935Z
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- openapi (cli)

## Dependencies

- @apidevtools/json-schema-ref-parser
- camelcase
- commander
- fs-extra
- handlebars

## Build dependencies

- @angular-devkit/build-angular
- @angular/animations
- @angular/cli
- @angular/common
- @angular/compiler
- @angular/compiler-cli
- @angular/core
- @angular/forms
- @angular/platform-browser
- @angular/platform-browser-dynamic
- @angular/router
- @babel/cli
- @babel/core
- @babel/preset-env
- @babel/preset-typescript
- @eslint/js
- @rollup/plugin-commonjs
- @rollup/plugin-node-resolve
- @rollup/plugin-terser
- @rollup/plugin-typescript
- @types/cross-spawn
- @types/express
- @types/fs-extra
- @types/jest
- @types/node
- @types/node-fetch
- @types/qs
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- abort-controller
- axios
- codecov
- cross-spawn
- eslint
- eslint-config-prettier
- eslint-plugin-prettier
- eslint-plugin-simple-import-sort
- express
- form-data
- glob
- globals
- jest
- jest-cli
- node-fetch
- prettier
- puppeteer
- qs
- rimraf
- rollup
- rxjs
- ts-node
- tslib
- typescript
- typescript-eslint
- zone.js

## Install behavior

- Post-install hook: not defined
- Lifecycle scripts: prepare
- Bottle: not available

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 0.31.0
- Package-manager updated: 2026-06-20
- Local data: ok
- Upstream repository: https://github.com/ferdikoomen/openapi-typescript-codegen
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for openapi-typescript-codegen. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Alpha: 0.12.0, Latest: 0.31.0
- **Version Count:** 109
- **Maintainers:** ferdikoomen
- **Author:** Ferdi Koomen
- **Publisher:** ferdikoomen
- **Integrity:** sha512-ph3njJ7veDXy6QKLKHqNiyIqWMMu+rcdtU87XuwBo+QfBOpE1PvqzIWY3KMZBnLaoACxhtrEPf5re7Y/Ty9Bnw==
- **Shasum:** 3312fa8952cf5ff8252a04837dad703b93a4789f
- **Unpacked Size:** 230,868
- **File Count:** 0
- **Created At:** 2019-11-24T10:14:32.984Z
- **Latest Published At:** 2026-06-20T19:05:22.935Z
- **Modified At:** 2026-06-20T19:05:23.047Z


## Related links

- [Text processing packages](https://pkg.so/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [openapi-zod-client](https://pkg.so/npm/openapi-zod-client/) - Package names and metadata indicate a similar tool family. Shared terms: api, api-specifications, apidevtools, axios, cli.
- [openapi-merge-cli](https://pkg.so/npm/openapi-merge-cli/) - Both packages work with overlapping file formats or content types. Shared terms: api, api-specifications, cli, commander, data.
- [openapicmd](https://pkg.so/npm/openapicmd/) - Executable or command metadata overlaps with this package. Shared terms: api, api-specifications, apidevtools, axios, cli.

## Sources

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
