0.0.10 • Published 8 years ago
stdio-widget v0.0.10
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
- BrowserEvent
options :: objectencoding :: stringgreeting :: stringcolors :: objectstdin :: stringstdout :: stringstderr :: stringbackground :: string
stdio(stdin, stdout, stderr)stdin :: stream.Writablestdout :: stream.Readablestderr :: stream.Readable