Discover and read the best of Twitter Threads about #techthread

Most recents (1)

wowwww look at those new functions meant to help us consume @Nodejs Streams as JSON, text, blob, and much more! ๐Ÿ˜ฑ๐ŸŽ‰

๐Ÿงต /1
The Node.js project is on fire! Every day we see new functions, new shortcuts, and design improvements.

The Node.js project has been receiving a lot of new utility functions and this new set will help us save time when working with Node.js Streams

/2
Now Node.js itself will consume the whole data stream for you and then try parsing to the chosen format

Thanks to @jasnell for implementing it! ๐Ÿคฉ

In the image below, I'm reading data from a file, but it'd also work for Web APIs, Net Sockets, Strings, Buffers, and much more

/3
Read 6 tweets

Related hashtags

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!