Node.js · Class
Readable
A Readable stream is a source of data that Node.js delivers in chunks. You can consume it with events, read(), pipe(), or async iteration.
Last updated
Syntax
new stream.Readable([options])
readable.read([size])
readable.pipe(destination[, options])In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
stream.Readable.from(iterable[, options])readable.read([size])readable.pipe(destination[, options])readable.pause()readable.resume()readable.setEncoding(encoding)readable[Symbol.asyncIterator]()stream.Transform