OneLang CLI
raw JSON → 0.0.6 verified Fri May 01 auth: no javascript
Command-line interface for the OneLang source-to-source transpiler framework, version 0.0.6. Provides a CLI tool to transpile code between languages using OneLang's transpilation engine. Released as an experimental alpha, with no fixed release cadence. Differentiates by offering a unified CLI frontend for the OneLang transpiler, which supports multiple language targets.
Common errors
error onelang: command not found ↓
cause Binary not installed globally or PATH not configured.
fix
Install globally: npm install -g onelang-cli, or use npx onelang-cli.
error Error: Cannot find module 'onelang' ↓
cause Required core OneLang transpiler package is not installed.
fix
Install the main OneLang package: npm install onelang
Warnings
gotcha Package is in early alpha (v0.0.6); APIs may break without notice. ↓
fix Pin to exact version and test upgrades thoroughly.
deprecated No known stable releases; consider the project's current state before using in production. ↓
fix Evaluate alternative transpilers if stability is required.
gotcha Package has no unit tests or documented usage examples beyond CLI help. ↓
fix Use with caution and rely on CLI --help for available commands.
Install
npm install onelang-cli yarn add onelang-cli pnpm add onelang-cli Quickstart
onelang transpile --input source.ts --output source.js --target typescript || echo 'Check OneLang installation and target support'