Automic VaultAutomic Vault

brew

Install tscriptify with Homebrew

Golang struct to TypeScript class/interface converter. Version 0.2.0 via Homebrew; verified from local package data.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install tscriptify

local Homebrew formula metadata

overview

Package summary

Golang struct to TypeScript class/interface converter

Commands and aliases

  • tscriptify

history

Project history and usage

tscriptify is a small Go developer tool for generating TypeScript classes or interfaces from Go structs, especially structs whose JSON tags define API payload shapes.

Project history

The project is published as tkrajina/typescriptify-golang-structs and describes itself as a Go JSON-to-TypeScript model converter. Its README documents both a command-line tool, installed with `go install github.com/tkrajina/typescriptify-golang-structs/tscriptify`, and a Go library package.

The official changelog records early 0.1.x work around custom types, enum generation, pointer handling, interface output, Go modules, packages with hyphens, TypeScript doc tags, and matrix testing. That history points to a focused utility maintained around practical Go-to-TypeScript model generation rather than a broad framework.

Adoption history

Its package-manager footprint in this batch is Homebrew only, which fits the tool's niche: developers installing a small CLI when a Go backend and TypeScript frontend need matching model definitions.

How it is used

The README's main CLI pattern is `tscriptify -package=... -target=... Model1 Model2`, with optional import strings and support for converting all structs in a Go file. It can also be embedded through the Go API by constructing a converter and writing generated models to a TypeScript file.

The converter relies on Go struct fields with JSON tags, supports class and interface style output, handles custom TypeScript snippets, and exposes command-line options for package, target, and backup directory.

Why package nerds care

For package-manager users, tscriptify is the kind of narrow CLI that earns a formula because it removes build-step friction in polyglot Go and TypeScript projects. Its importance is practical rather than ecosystem-defining: install it, point it at backend structs, and keep frontend model definitions synchronized.

Timeline

  • 0.1.0: Changelog records simplified conversion, maps of objects, custom imports, pointer optional fields, and enum handling.
  • 0.1.5: Changelog records Go module support and a JSON-to-TypeScript model shell-script example.
  • 0.1.8-0.1.9: Changelog records TypeScript doc tags, handling fields without JSON tags, and matrix testing.

Related projects

  • The project sits in the Go code-generation family alongside tools that generate client models or API bindings from backend definitions, but its official documentation keeps the scope specifically to Go structs and TypeScript models.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
tscriptifycliglobal executable

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version0.2.0
manager updated
local dataok
upstreamcurrent
latest detectedv0.2.0

https://github.com/tkrajina/typescriptify-golang-structs

  • infoNo package-manager update timestamp was available.low confidence

install metadata

Package metadata

Package keybrew:tscriptify
Version0.2.0
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/tscriptify
Homepagehttps://github.com/tkrajina/typescriptify-golang-structs
Repositoryhttps://github.com/tkrajina/typescriptify-golang-structs
Upstream docshttps://github.com/tkrajina/typescriptify-golang-structs#readme
LicenseApache-2.0
Source archivehttps://github.com/tkrajina/typescriptify-golang-structs/archive/refs/tags/v0.2.0.tar.gz
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

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

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

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