var unix = require('browser-unix')();
unix.appendTo('#terminals');
unix.listenTo(window);
var createUnix = require('browser-unix')
Create a new unix.
Append the terminals to the element or string query selector target
.
Listen for keydown and keypress events from elem
. window
is a good value to
use for elem
.
Create a terminal.
Remove a terminal.
With npm do:
npm install browser-unix
Then compile your browser.js
code with browserify:
browserify browser.js > static/bundle.js
MIT