Every Node.js conference is important! I believe that meeting face-to-face is fundamental for every Open Source community. Given my role as a Node.js Technical Steering Committee member, I could hardly pass the opportunity to participate to the first edition of Node.TLV
My talk is about Node.js streams and the changes we have worked on in the last few years. Streams are a fundamental part of Node.js as they underpin Http, fs, crypto, zlib, etc… However, using streams has always been hard to use for most Node.js devs as the API is complex. In the meanwhile, ES2018 introduced “Async Iteration” as a fundamental part of the language and it has been a clear opportunity to simplify how a developer would work for streams on a daily basis. In this talk, I’m going to present the challenges in maintaining streams, and how we have evolved them to make them simpler to use with the usage of Async Iterators.
I’m part of the Node.js Streams Working Group, and I’ve been maintaining streams in Node.js for a long time. I’m also the maintainer of readable-stream, one of the most downloaded modules from npm with 180 million downloads per month. readable-stream is the userland/npm version of Node.js streams.
I’m trying to create awareness of the new APIs that are available for Node.js streams.
We have added a few critical things to streams. The new finished and pipeline utilities make error handling of streams simple. The addition of AsyncIteration makes them easy to use. We are planning a lot of new goodies that combine async generators and pipeline!
It’s the first edition of a conference and a milestone for the local Tel Aviv community… Come and join us!