Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

jsy-transpile

0.9.2 • Public • Published

jsy-transpile

Build Status

JSY is an indented (offside) JavaScript dialect. We believe indentation is better at describing code blocks.

This is an offside (indention) JSY syntax transpiler to standard JavaScript with zero dependencies — e.g. No Babel, no Acorn!

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

Use from the command line

Ensure you are using Node 10.x or later.

Install globally with npm install -g jsy-transpile

Transpile a JSY file with npx jsy-transpile test.jsy > test.js

Run a JSY file with npx jsy-node test.jsy – see jsy-node

Use from Bundlers

Use directly from HTML

...
<script type='module' src='https://cdn.jsdelivr.net/npm/jsy-transpile/esm/jsy-script.min.js'></script>
...
<jsy-script src='./example.jsy'></jsy-script>
...

Install

npm i jsy-transpile

DownloadsWeekly Downloads

232

Version

0.9.2

License

BSD-2-Clause

Unpacked Size

5.79 MB

Total Files

95

Last publish

Collaborators

  • avatar