0.0.1 • Published 7 years ago
readln v0.0.1
readln
It is implemented as follows:
echo -e 'line 1\nline2' |
node -e "
//require('readln')(
require('./index.js')(
{},
(accumulator, line, index) => console.log(index, line.length, line),
(accumulator, index) => console.log(index, 'done')
)
"
0.0.1
7 years ago