0.0.20 • Published 6 years ago

sandbox-spawner v0.0.20

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

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.Element
  • sandbox :: sandbox-editor.Sandbox
  • spawner(spawn)
    • child = spawn(path, script, argv)
      • path :: string
      • script :: string
      • argv :: [string]
      • child :: sandbox-spawner.Child | Worker

Child :: events.EventEmitter

  • stdin :: stream.Writable
  • stdout :: stream.Readable
  • stderr :: stream.Redable
  • child.kill(signal)
    • signal :: string
  • Event exit
    • code :: number
    • signal :: string
0.0.20

6 years ago

0.0.19

7 years ago

0.0.18

7 years ago

0.0.17

7 years ago

0.0.16

8 years ago

0.0.15

8 years ago

0.0.13

8 years ago

0.0.12

8 years ago

0.0.11

8 years ago

0.0.10

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago