Command-line interface for the N4JS language, including the compiler and build tools. Current version is 0.37.9, with monthly releases following the N4JS project cadence. It provides a CLI to compile N4JS code to JavaScript, and supports custom runtimes. Differentiators include deep integration with the Eclipse ecosystem and a static type system targeting JavaScript. Note: this is a niche tool; for mainstream use, consider TypeScript or other transpilers.
npm install n4js-cliNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates installing n4js-cli globally and compiling N4JS source files to JavaScript.
Install JRE 8 or later and ensure java is in PATH.
Use it via command line: `npx n4js-cli` or global install.
Upgrade to latest version and refer to current CLI help: `n4js-cli --help`
Ensure n4jsc.jar is present in the package or set N4JSC_JAR to a valid path/URL.
Install globally: `npm install -g n4js-cli` or use npx: `npx n4js-cli`