Automic VaultAutomic Vault

brew

json2ts mit Homebrew, Nix installieren

Prüfe Installationswege, Executables, Metadaten und Sicherheitshinweise für json2ts in AI-Agent-Workflows.

Installation

Weitere Installationsbefehle

macOS

Homebrewverifiziert · 100%
brew install json2ts

local Homebrew formula metadata

Linux

Nixverifiziert · 92%
nix profile install nixpkgs#json2ts

nixpkgs package indexes · pkgs/by-name/js/json2ts/package.nix · Quelle: api.github.com

Überblick

Paketzusammenfassung

Compile JSONSchema to TypeScript type declarations

Befehle und Aliase

  • json2ts

Verlauf

Projektgeschichte und Nutzung

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.

Projektgeschichte

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`.

Adoptionsgeschichte

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.

Wie es verwendet wird

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.

Warum Paket-Nerds sich dafür interessieren

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.

Zeitleiste

  • 2016-03-22: The GitHub repository was created.
  • 2016-03-31: npm recorded version 0.1.0 for `json-schema-to-typescript`.
  • 2016-07-22: npm recorded version 1.0.0.
  • 2025-01-14: npm metadata showed package modification after many published versions.

Related projects

  • The project is related to JSON Schema, TypeScript declaration generation, `typescript-json-schema` for the reverse direction, and schema-aware API tooling that uses JSON Schema as the source of truth.

Sicherheitslage

Risikostufe: grün

narrow executable package without higher-risk signals.

Risikoklassifikator

grün Risiko · niedrig Konfidenz · appliance

Warum

  • narrow executable package without higher-risk signals

Signale

  • metadata:no-higher-risk-signals

Installationsverhalten

  • In den Formelmetadaten ist kein Homebrew-Post-install-Hook erfasst.
  • Homebrew-Bottle-Metadaten sind für 1 Plattformziele verfügbar.
  • Installiert mit 1 Laufzeitabhängigkeiten.

Empfohlene Prüfung

Prüfe vor unbeaufsichtigter Agent-Nutzung, ob das Tool Klartext-Credentials liest, Remote-Zustand schreibt, Artefakte veröffentlicht oder Plugins ausführt.

Executables

Installierte Executables

BefehlArtSichtbarkeitHinweis
json2tscliglobales Executable

Aktualität

Version und Aktualität

Diese Signale trennen das Alter der Seitengenerierung, Aktivität des Paketmanagers und Upstream-Release-Vergleich. Versionsrückstand wird nur gemeldet, wenn eine Evidenz-URL und vergleichbare Versionen vorhanden sind.

Seite generiert2026-07-25
Manager-Version15.0.4
Manager aktualisiert
lokale DatenOK
Upstreamnot checked
neueste erkannte Versionnicht erkannt

https://github.com/bcherny/json-schema-to-typescript

Installationsmetadaten

Paketmetadaten

Paketschlüsselbrew:json2ts
Version15.0.4
PaketmanagerHomebrew
Paketmanager-Seitehttps://formulae.brew.sh/formula/json2ts
Homepagehttps://github.com/bcherny/json-schema-to-typescript
Repositoryhttps://github.com/bcherny/json-schema-to-typescript
Upstream-Dokumentationhttps://github.com/bcherny/json-schema-to-typescript#readme
LizenzMIT
Quellarchivhttps://registry.npmjs.org/json-schema-to-typescript/-/json-schema-to-typescript-15.0.4.tgz
Abhängigkeitennode
Bottleverfügbar (auf all)
Homebrew post-installnicht definiert
Dienstkeiner deklariert

Registry-Fakten

Details aus der Quelldatenbank

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namejson2ts
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

Source-Datenbank-Treffer

Andere Paketmanager-Einträge

Treffer stammen aus externen Paketmanager-Indizes und bleiben von lokalen Automic-Vault-Paketlinks getrennt.

Nix95%

json2ts

nix profile install nixpkgs#json2ts
  • normalized package name match
  • Abgeglichen nach: Json2ts
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/js/json2ts/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

Quellspur

Aus Repository-Daten generiert

Diese Seite wird von av-web aus dem privaten Paket-SQLite-Artefakt bereitgestellt, das scripts/generate-pkg-sqlite.py erstellt.

Verwendete Quellen

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment