On this page:
run-in-browser
create-zip-package

2 Running js-vm

 (require (planet dyoo/js-vm:1:12))
(run-in-browser input-file)  void
  input-file : path-string?
Consumes the given program, translates it so it can run on the browser, and brings up the default browser.

At the moment, js-vm currently supports programs written in the (planet dyoo/js-vm:1:12/lang/wescheme) and (planet dyoo/js-vm:1:12/lang/base) languages; further development on js-vm will work toward supporting modules written in full Racket. require should work as long as the required modules, too, are in the supported languages.

(create-zip-package input-file    
  output-zip-file)  void
  input-file : path-string?
  output-zip-file : path-string?
Consumes the given program, translates it so it can run on the browser, and writes out a zip archive to the given path. If the output file already exists, overwrites it. This zip file can be unpacked and served on any standard web server.