DEV Community

Toby Inkster
Toby Inkster

Posted on • Originally published at toby.ink on

Zuzu JavaScript Runtime Released

zuzu-js 0.1.0 is now available through npm.

The JavaScript runtime is now available on npmjs.com.

https://www.npmjs.com/package/zuzu-js

You can install it using npm install -g zuzu-js.

Run simple inline code:

zuzu-js -e 'say("Hello, world");'
Enter fullscreen mode Exit fullscreen mode

Run a full script:

zuzu-js path/to/script.zzs
Enter fullscreen mode Exit fullscreen mode

Compile from ZuzuScript into JavaScript:

zuzu-js-compile path/to/script.zzs -o script.js
node script.js
Enter fullscreen mode Exit fullscreen mode

(The resulting JS file will be very large as it bundles the entire ZuzuScript runtime. But it should work.)

Top comments (0)