7.0.0 • Published 5 years ago
@aureooms/js-tape v7.0.0
@aureooms/js-tape
Tape library for JavaScript. Served with asynchronous goodness. See docs.
:warning: 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 ) ... ;