this repo has no description
at main 303 B view raw
1import { Readable } from 'node:stream' 2 3const inStream = new Readable({ 4 read(size) { 5 this.push(String.fromCharCode(this.currentCharCode++)) 6 if (this.currentCharCode > 90 ) { 7 this.push(null) 8 } 9 } 10}) 11 12inStream.currentCharCode = 65 13 14inStream.pipe(process.stdout)