Package Exports
- sandbox-spawner
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (sandbox-spawner) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
sandbox-spawner
NPM module to spawn node-like processes in the browser Usage here, live demo here.
spawner = require("sandbox-spawner")(container, sandbox)
container :: dom.Elementsandbox :: sandbox-editor.Sandboxspawner(spawn)child = spawn(path, script, argv)path :: stringscript :: stringargv :: [string]child :: sandbox-spawner.Child | Worker
Child :: events.EventEmitter
stdin :: stream.Writablestdout :: stream.Readablestderr :: stream.Redablechild.kill(signal)signal :: string
- Event
exitcode :: numbersignal :: string