JSPM

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

Emulate terminals on the browser, works with nodejs streams

Package Exports

  • stdio-widget

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 (stdio-widget) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

stdio-widget

npm module to emulate terminals on the browser, works with nodejs streams through browserify. Usage here, live demo here.

stdio = require("stdio-widget")(container, options)

  • container :: dom.Element
    • BrowserEvent "ctrl"
      • key :: string
  • options :: object
    • encoding :: string
    • greeting :: string
    • colors :: object
      • stdin :: string
      • stdout :: string
      • stderr :: string
      • background :: string
  • stdio(stdin, stdout, stderr)
    • stdin :: stream.Writable
    • stdout :: stream.Readable
    • stderr :: stream.Readable