# Install ts-json-schema-generator with npm

Generate JSON schema from your Typescript sources. Version 2.9.0 via npm; verified 2026-03-04.

## Install

```sh
sudo av install npm:ts-json-schema-generator
```

Additional install commands:

### Portable and language managers

- npm (100%):

```sh
npm install -g ts-json-schema-generator
```

  Evidence: local npm package metadata

## Package facts

- **Package key:** npm:ts-json-schema-generator
- **Package manager:** npm
- **Package manager page:** <https://www.npmjs.com/package/ts-json-schema-generator>
- **Version:** 2.9.0
- **Source summary:** Generate JSON schema from your Typescript sources
- **Homepage:** <https://github.com/vega/ts-json-schema-generator#readme>
- **Repository:** <https://github.com/vega/ts-json-schema-generator>
- **Upstream docs:** <https://github.com/vega/ts-json-schema-generator#readme>
- **License:** MIT
- **Source archive:** <https://registry.npmjs.org/ts-json-schema-generator/-/ts-json-schema-generator-2.9.0.tgz>
- **Issue tracker:** <https://github.com/vega/ts-json-schema-generator/issues>
- **Published:** 2026-03-04T17:32:15.397Z
- **Last updated:** 2026-03-04T17:32:15.397Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ts-json-schema-generator (cli)
- ts-json-schema-generator (alias)

## Dependencies

- @types/json-schema
- commander
- glob
- json5
- normalize-path
- safe-stable-stringify
- tslib
- typescript

## Build dependencies

- @auto-it/conventional-commits
- @auto-it/first-time-contributor
- @eslint/js
- @types/eslint
- @types/node
- @types/normalize-path
- @typescript/vfs
- ajv
- ajv-formats
- auto
- c8
- cross-env
- eslint
- eslint-config-prettier
- eslint-plugin-prettier
- globals
- prettier
- try
- tsx
- typescript-eslint
- vega
- vega-lite

## Install behavior

- Post-install hook: not defined
- Bottle: not available

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.9.0
- Package-manager updated: 2026-03-04
- Local data: ok
- Upstream repository: https://github.com/vega/ts-json-schema-generator
- info: No cached GitHub release or tag data was available.

## Security Notes

No matching local secret-handling manifest was found for ts-json-schema-generator. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** npm registry
- **Dist Tags:** Canary: 2.9.1--canary.2509.df73a66.0, Latest: 2.9.0, Next: 2.9.1-next.13
- **Version Count:** 435
- **Maintainers:** jheer, domoritz, kanitw
- **Author:** Alexander Evtushenko
- **Publisher:** GitHub Actions
- **Engines:** Node: >=22.0.0
- **Integrity:** sha512-NR5ZE108uiPtBHBJNGnhwoUaUx5vWTDJzDFG9YlRoqxPU76n+5FClRh92dcGgysbe1smRmYalM9Saj97GW1J4Q==
- **Shasum:** cc2b99db0e64ee9ee6898c8c74905337536ef9fc
- **Unpacked Size:** 942,149
- **File Count:** 0
- **Created At:** 2017-09-05T17:56:26.865Z
- **Latest Published At:** 2026-03-04T17:32:15.397Z
- **Modified At:** 2026-03-30T23:48:07.066Z


## Related links

- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [typescript-json-schema](https://www.automicvault.com/pkg/npm/typescript-json-schema/) - Both packages work with overlapping file formats or content types. Shared terms: glob, json, json-schema, jsonschema, path.
- [ts-to-zod](https://www.automicvault.com/pkg/npm/ts-to-zod/) - Package names and metadata indicate a similar tool family. Shared terms: generate, generator, tslib, types, typescript.
- [ts-generator](https://www.automicvault.com/pkg/npm/ts-generator/) - Package names and metadata indicate a similar tool family. Shared terms: generator, glob, types, typescript.

## Sources

- Nucleus package database
- package-page enrichment
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
