read.i
v0.0.1
Published
extend async standard input ability of Node
Downloads
5
Readme
###read.i
I need a simplify terminal read()
in async world
var read = require('read.i');
read.encoding = 'base64';
read(function (input) {
console.log(input);
read.encoding = 'hex';
read(function (input) {
console.log(input);
read.encoding = 'utf8';
read(function (input) {
console.log(input);
});
});
});