JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q45881F
  • License MIT

Spawn node-like processes in the browser

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

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 :: child_process.ChildProcess