OneLang is a source-to-source transpiler framework that enables writing code in multiple programming languages simultaneously. Currently at version 0.0.7, it is in early development with no stable release cadence. Unlike traditional transpilers, OneLang has its own type system and AST, and does not fully respect the syntax of input languages. It targets developers who want to generate code in multiple languages from a single source, but requires mastery of both target languages and OneLang itself. Key differentiators: self-defined rules, strong typing, and generic support, but limited maturity and documentation.
npm install onelangNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a OneLang instance, adds a TypeScript source file, and transpiles it to JavaScript.
Pin to specific version and test upgrades.
Review OneLang documentation for syntax deviations.
Use with caution for production.
Use 'import { OneLang } from 'onelang'' in an ESM context.Run 'npm install onelang' and ensure import path is correct.
Check supported languages in documentation.
No dependency data recorded yet.