@vectorfyco/valbridge-cli
v1.2.0
Published
Installable CLI for bidirectional Zod and Pydantic conversion
Maintainers
Readme
Installable valbridge CLI launcher for npm and npx. Downloads the correct platform binary automatically.
Zero-install usage
Run directly without installing globally:
npx -y @vectorfyco/valbridge-cli generate
npx -y @vectorfyco/valbridge-cli generate --helpGlobal installation
# npm
npm install -g @vectorfyco/valbridge-cli
# pnpm
pnpm add -g @vectorfyco/valbridge-cliThen use the valbridge command directly:
valbridge generate
valbridge extract --schema user:Profile
valbridge --helpHow it works
The launcher downloads the matching valbridge Go binary for the current platform on first run and caches it locally. Subsequent runs use the cached binary.
Environment variables
| Variable | Description |
| --- | --- |
| VALBRIDGE_CLI_BIN | Override the binary path. Set to a local build to skip the download. |
Related packages
| Package | Purpose |
| --- | --- |
| valbridge-cli | Python/uvx CLI launcher (same binary, different installer) |
| @vectorfyco/valbridge | Runtime client for generated validators |
| @vectorfyco/valbridge-zod | Zod adapter for code generation |
