Home

Awesome

jsy-node

Deprecated -- see jjsy-lang/jsy-nodejs that uses NodeJS experimental loader mechanism.

Register runtime require handler for Offside (indention) JSY syntax transpiler to standard JavaScript.

Please see JSY language docs for details on the JSY dialect.

Use from the command line

> jsy-node ./examples/hello.jsy
Hello JSY world!

## Equivalent to:
> node -r jsy-node ./examples/hello.jsy
Hello JSY world!

Use from other Node sources

require('jsy-node')

require('./examples/hello.jsy')

Use with Mocha

$ mocha --require jsy-node/all some-unittest.jsy