Skip to content

Latest commit

 

History

History

README.md

Example for ruby-wasm-wasi

This is a simple example of how to use the ruby-wasm-wasi family packages

For browser

$ ruby -run -e httpd . -p 8000
$ # Open http://localhost:8000/hello.html
$ # Open http://localhost:8000/lucky.html
$ # Open http://localhost:8000/ruby-box.html
$ # Open http://localhost:8000/script-src

For Node.js

$ npm install
$ node index.node.js
$ node preopens.node.js