pkg.soopen package index

brew / 排名 10060

使用 Homebrew 安装 tscriptify

查看 tscriptify 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install tscriptify

local Homebrew formula metadata

概览

软件包摘要

Golang struct to TypeScript class/interface converter

命令和别名

  • tscriptify

历史

项目历史与用法

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.

项目历史

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.

采用历史

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.

使用方式

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.

为什么软件包爱好者会关心

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.

时间线

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

安全态势

风险级别:绿色

narrow executable package without higher-risk signals.

风险分类器

绿色 风险 · 低 置信度 · appliance

原因

  • narrow executable package without higher-risk signals

信号

  • metadata:no-higher-risk-signals

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
tscriptifycli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-08-04
管理器版本0.2.0
管理器更新时间2026-07-26
本地数据OK
上游当前
检测到的最新版本v0.2.0

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

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键brew:tscriptify
版本0.2.0
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/tscriptify
主页https://github.com/tkrajina/typescriptify-golang-structs
仓库https://github.com/tkrajina/typescriptify-golang-structs
许可证Apache-2.0
源码归档https://github.com/tkrajina/typescriptify-golang-structs/archive/refs/tags/v0.2.0.tar.gz
最后更新2026-07-26T00:51:28+02:00
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

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

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

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