macOS
brew install json2tslocal Homebrew formula metadata
brew
Consultez les chemins d'installation, exécutables, métadonnées et notes de sécurité de json2ts pour les workflows d'agents IA.
installation
brew install json2tslocal Homebrew formula metadata
nix profile install nixpkgs#json2tsnixpkgs package indexes · pkgs/by-name/js/json2ts/package.nix · Source: api.github.com
aperçu
Compile JSONSchema to TypeScript type declarations
historique
json-schema-to-typescript is a TypeScript and Node.js code-generation tool that compiles JSON Schema documents into TypeScript declaration files. The Homebrew package is named json2ts after its command-line executable.
Boris Cherny's repository was created in March 2016, and the npm package metadata records the first `0.1.0` publication on March 31, 2016. The project appeared as TypeScript was becoming a common way to describe JavaScript APIs while JSON Schema remained a common contract format for data validation.
The package evolved from a CLI into both a CLI and programmatic API. Its README documents `json2ts` usage for stdin, files, directories, globbed schema trees, YAML input, and library calls such as `compile` and `compileFromFile`.
The repository had thousands of GitHub stars by 2026 and the npm registry recorded more than one hundred published versions. Its adoption came from teams that already had JSON Schema contracts and wanted generated `.d.ts` files rather than hand-maintained TypeScript interfaces.
The common package-manager path is to install the Node package or Homebrew formula, then run `json2ts` to transform JSON or YAML schemas into TypeScript declarations. It can also be embedded in build scripts through the JavaScript API.
json2ts is package-nerd notable because it is a bridge between schema-first JSON tooling and TypeScript's static type ecosystem. It shows how a Node package can become a CLI distributed through npm and system package managers when the executable is useful outside JavaScript projects.
posture de sécurité
narrow executable package without higher-risk signals.
risque vert · confiance faible · appliance
Avant une utilisation sans surveillance par un agent, vérifiez si l'outil lit des identifiants en clair, écrit un état distant, publie des artefacts ou lance des plugins.
exécutables
| Commande | Type | Exposition | Note |
|---|---|---|---|
json2ts | cli | exécutable global |
fraîcheur
Ces signaux séparent l'âge de génération de la page, l'activité du gestionnaire de paquets et la comparaison avec les versions amont. Un retard de version n'est signalé que lorsqu'une URL de preuve et des versions comparables sont présentes.
https://github.com/bcherny/json-schema-to-typescript
métadonnées d'installation
| Clé du paquet | brew:json2ts |
|---|---|
| Version | 15.0.4 |
| Gestionnaire de paquets | Homebrew |
| Page du gestionnaire de paquets | https://formulae.brew.sh/formula/json2ts |
| Page d'accueil | https://github.com/bcherny/json-schema-to-typescript |
| Dépôt | https://github.com/bcherny/json-schema-to-typescript |
| Docs amont | https://github.com/bcherny/json-schema-to-typescript#readme |
| Licence | MIT |
| Archive source | https://registry.npmjs.org/json-schema-to-typescript/-/json-schema-to-typescript-15.0.4.tgz |
| Dépendances | node |
| Bouteille | disponible (sur all) |
| post-install Homebrew | non défini |
| Service | aucun déclaré |
faits du registre
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | json2ts |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
correspondances dans les bases sources
Les correspondances proviennent d’index externes de gestionnaires de paquets et restent séparées des liens de paquets Automic Vault locaux.
json2ts
nix profile install nixpkgs#json2tspiste source
Cette page est servie par av-web depuis l'artéfact SQLite privé des paquets généré par scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.