typescript When using TypeScript and streams in NodeJS, use the stream.Stream type until there is reason to use a wider type. It's easy to build a big ball of mud when working with technology we do not understand. Two years into a project, we found ourselves converting among typed arrays, streams, and buffers, without