0.0.20 • Published 5 years ago

sandbox-spawner v0.0.20

Weekly downloads
4
License
MIT
Repository
github
Last release
5 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

5 years ago

0.0.19

6 years ago

0.0.18

6 years ago

0.0.17

6 years ago

0.0.16

7 years ago

0.0.15

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago

0.0.0

7 years ago