Tape library for JavaScript. Served with asynchronous goodness. See docs.
⚠️ Depending on your environment, the code may requireregeneratorRuntime
to be defined, for instance by importing regenerator-runtime/runtime.
import { fromReadStream } from '@async-abstraction/tape' ;
const stdin = fs.createReadStream( '/dev/stdin' , { encoding : 'utf8'} ) ;
const tape = fromReadStream( stdin ) ;
for await ( const character of tape ) ... ;