0.0.13 • Published 7 years ago
sandbox-scenario v0.0.13
sandbox-scenario
Demonstrate JavaScriopt projects on the browser. Usage here, live demo here. Command line interface:
Context :: object
type :: stringpath :: stringoptions :: sandbox-editor.Options
require("sandbox-scenario")(spawn, parents, children, callback)
spawn :: sandbox-scenario.Contextparents :: [sandbox-scenario.Context]children :: [sandbox-scenario.Context]callback(error, script)error :: Errorscript :: sring
spawn = Spawn(parent1, parent2, ...)
parent1 :: stringparent2 :: stringchild = spawn(path, script, argv)path :: stringscript :: stringargv :: [string]child :: sandbox-spawn.Child | Worker