0.0.2 • Published 7 years ago
spawn-widget v0.0.2
spawn-widget
Widget for spawning node-like processes in the browser. Usage here, live demo here.
setspawn = require("spawn-widget")(container, sandbox)
container :: dom.Element
sandbox :: commonjs-editor.Sandbox
setspawn(spawn)
child = spawn(path, script, argv)
path :: string
script :: string
argv :: [string]
child :: child_process.ChildProcess