{"library":"n4js-cli","title":"N4JS CLI","description":"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.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install n4js-cli"],"cli":{"name":"n4jsc","version":null}},"imports":["n4js-cli invokes the Java CLI; no import in JS/TS code. Use as a command-line tool via `npx n4js-cli`.","npm install -g n4js-cli then run `n4js-cli compile`"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"// n4js-cli is a CLI tool, not a library.\n// Install globally:\n// npm install -g n4js-cli\n// Then compile N4JS files:\n// n4js-cli compile src/ -d out/\n// Alternative using npx:\n// npx n4js-cli compile src/ -d out/","lang":"typescript","description":"Demonstrates installing n4js-cli globally and compiling N4JS source files to JavaScript.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}