macOS
brew install tscriptifylocal Homebrew formula metadata
安装
brew install tscriptifylocal Homebrew formula metadata
概览
Golang struct to TypeScript class/interface converter
历史
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.
安全态势
narrow executable package without higher-risk signals.
绿色 风险 · 低 置信度 · appliance
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
tscriptify | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:tscriptify |
|---|---|
| 版本 | 0.2.0 |
| 软件包管理器 | Homebrew |
| 主页 | https://github.com/tkrajina/typescriptify-golang-structs |
| 仓库 | https://github.com/tkrajina/typescriptify-golang-structs |
| 最后更新 | 2026-07-26T00:51:28+02:00 |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.