@maayn/veld
v0.2.9
Published
Contract-first, multi-stack API code generator. Write .veld contracts once, generate typed frontend SDKs and backend service interfaces.
Maintainers
Readme
Veld — npm package
Contract-first, multi-stack API code generator.
Install
npm install @maayn/veld
# or
npx @maayn/veld generateUsage
After installing, the veld CLI is available:
veld init # Scaffold a new project
veld generate # Generate from veld.config.json
veld generate --dry-run # Preview what would be generated
veld watch # Auto-regenerate on file changes
veld validate # Check contracts for errors
veld clean # Remove generated output
veld openapi # Export OpenAPI 3.0 specHow it works
This npm package includes pre-built binaries for all supported platforms. The wrapper script automatically selects the correct binary for your platform.
Supported platforms:
- Linux (x64, arm64)
- macOS (x64, Apple Silicon)
- Windows (x64)
The package version matches the binary version, so npm install @maayn/[email protected]
installs exactly version 0.2.0. No runtime downloads needed - works offline!
Alternative installation
# Go (no npm needed)
go install github.com/Adhamzineldin/Veld/cmd/veld@latest
# Homebrew
brew install veld
# pip
pip install maayn-veld
# Composer (PHP)
composer require veld-dev/veldLinks
License
MIT
