stdio-widget

0.0.10 • Public • Published

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

Package Sidebar

Install

npm i stdio-widget

Weekly Downloads

5

Version

0.0.10

License

MIT

Unpacked Size

8.07 kB

Total Files

4

Last publish

Collaborators

  • lachrist