@aureooms/js-tape
Tape library for JavaScript. Served with asynchronous goodness. See docs.
⚠️ The code needs a ES2015+ polyfill to work (regeneratorRuntime
), for instance @babel/polyfill.
const stdin = fs.createReadStream( '/dev/stdin' , { encoding : 'utf8'} ) ;
const myTape = tape.fromReadStream( stdin ) ;
for await ( const character of myTape ) ... ;