jsy-registerdeprecated

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

Usage no npm install needed!

<script type="module">
  import jsyRegister from 'https://cdn.skypack.dev/jsy-register';
</script>

README

jsy-register

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-register ./examples/hello.jsy
Hello JSY world!

Use from other Node sources

require('jsy-register')

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