JSY is an offside-rule (indentation-based) syntax dialect for ECMAScript that transpiles to standard JavaScript via a scanner-pass transformation, without Babel, Acorn, or any runtime dependencies. Current stable version 0.10.9. It supports modern JavaScript up to ES2025, has zero dependencies, 6300+ unit tests, and works with Rollup, ESBuild, Parcel, Vite, and Node.js --loader. Unlike CoffeeScript or Python-inspired alternatives, JSY automatically keeps pace with new ECMAScript features because its transformation only handles indentation and comments, leaving the underlying JavaScript syntax untouched. The package was renamed from jsy-transpile to @jsy-lang/jsy.
npm install jsy-transpileNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Transpiles a simple JSY function with indentation-based syntax into standard JavaScript.
Replace 'jsy-transpile' with '@jsy-lang/jsy' in package.json and all imports.
Run 'npm install @jsy-lang/jsy' and update imports.
Use 'import jsy from "@jsy-lang/jsy"' and call jsy(source, options).
Ensure indentation is consistent (tabs or spaces, not mixed). Use 2 or 4 spaces per level.
Explicitly set 'module: true' if you want ES module output.
Install @jsy-lang/jsy and update imports: 'npm install @jsy-lang/jsy' then 'import jsy from "@jsy-lang/jsy"'.
Use default import: 'import jsy from "@jsy-lang/jsy"'.
Verify that all blocks are properly indented. JSY uses indentation to denote blocks. Use spaces consistently.
Use ES imports instead: 'import jsy from "@jsy-lang/jsy"'.
No dependency data recorded yet.