$ npm install -g [email protected]:mtaylor/rokujs.git
$ js2bs -o <outDir> -i <inpDir> <file|direcory>
- brightscript.js - A command line utility to transpile javascript to brightscript
- sceneGraph.js - A set of Moon.js web components to render Roku Scene Graph XML pages in the browser
- rokuGlobals.js - Javascript utilities to emulte Brightscript globals
- helloWeb - Hello World Roku Channel in Javascript
- helloRoku - Hello World Roku Channel in Brightscript
- Fixtures - All ES6 Javscript syntax fixtures.
- Transpiler makes a reasonable attempt to transpile most es6 idioms into brightscript
- Some JS expressions like import and switch and throw still need Work
- Work on converting web component projects and global JS utilities has not started.