1.0.3 • Published 8 years ago

node-inout v1.0.3

Weekly downloads
16
License
SEE LICENCE IN LI...
Repository
github
Last release
8 years ago

node-inout

A simple terminal input and output via stdin and stdout using event emitters as transport for the data ##Install

npm install node-inout

Setup

var terminal = require('./node-inout.js'); // If placed in same directory as script you want to use it in

Setup Async Reading

Currently only type available

var reader = new terminal(); //Initiates readline module and emits event on receipt of a line

##Listen for 'In' event

####Depedencies Uses nodejs native 'events' and 'process' modules