Map and flatten stream chunks
The transformation function that returns an array
A TransformStream that applies the transformation and flattens the result
const stream = readable.pipeThrough(flatMap(word => word.split(''))); Copy
const stream = readable.pipeThrough(flatMap(word => word.split('')));
Map and flatten stream chunks