@superjsorg/cli
v0.1.0
Published
The Super.js command-line compiler — build, check, and explain .sjs files. A null-safe, sum-typed superset of JavaScript.
Maintainers
Readme
@superjsorg/cli
The Super.js command-line compiler — a null-safe, sum-typed superset of JavaScript that compiles to plain JS.
Self-contained bundle with no runtime dependencies. Provides the superjs command.
Install
npm install -g @superjsorg/cliUsage
superjs build src/ # compile every .sjs under src/ → dist/
superjs build app.sjs --watch # recompile on change
superjs check src/ # type-check only (use --format json for CI)
superjs explain SJS-E001 # explain a diagnostic code
superjs init # write a default superjs.config.json
superjs doctor # report environment healthBuild options live in superjs.config.json. See the full
CLI reference.
Links
- Website & playground: https://superjs.org
- Documentation: https://superjs.org/docs/intro
- Programmatic API:
@superjsorg/compiler - Source: https://github.com/hbarve1/super-js
License
GPL-3.0-or-later
