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
Notice that the "before" approach in the image would also be replaced by the new Streams operators ".toArray" if you're using the Node.js v18+:
JSON.parse((await file.toArray()).join(''))
/4
Instead of piping, gathering, and then parsing data in memory the process will be much easier using this new API, what do you think?
/5
Tell me, what utility do you think Node.js is still missing? Some tasks that you repetitively do to create some functionality on your systems that you wish it'd be natively on the Node.js core
Fiiiiiiinaly we have a native solution to catch CLI arguments in @nodejs🔥😱
🧵 /1
There was a long discussion on how many existing npm packages were made to parse CLI args and why the Node.js project hasn't had any native solution yet.
/2
You may have heard of existing packages that are very popular around there to make CLI programs such as commander, yargs and this new function came with interesting ideas.
/3
What I've learned after giving over 100 talks around the world 🤯😱
🧵 /1
Today I brought something special for you! I'll show how I reached 10 different countries, what I learned to keep myself calm while speaking to huge audiences, and much more!
/2
This video is very special for me as I'm sharing my experiences and the reason behind Why I started giving talks in the first place.
/3
The JavaScript language is changing and the ECMAScript 2023 is on 🔥
Come and check what's new now 🤯🧵 /1
I love seeing how the language is evolving fast and especially how JS proposals that have been in discussions for years are finally going to the last stage to become part of the language. /2
I prepared a bunch of videos on my channel showing in practice the benefits and what problems those proposals are meant to solve
/3
Why JavaScript Generators fix 90% of your problems when working with big loads of data 🤯
Let's? 🧵 /1
I've seen many people facing performance problems on the @nodejs platform or even on vanilla JS on the browser and when I ask what's happening they usually blame the language. /2
Although, when I look at the implementation, I see they are trying to process all the data simultaneously. /3
wooowwwww, I know that you've always wanted to compare objects in JS as `obj === obj` so I brought good news for you 🤩🔥
Let's begin🧵 /1
I don't know about you but I'm really excited about this feature, let me show you how it works 🔥
/2
The #ECMAScript proposal for the #Record and #Tuple value types is Stage 2 which means that it could change at any time but there're packages and playgrounds for you to try out this feature before it's available on the language.
/3
Aewwww agora simmmmmm, atendendo a pedidos eu trouxe uma super surpresaaaaaaaa 🔥🔥
Boraaaaaaaaa🧵 /1
No ultimo mês estive palestrando em grandes eventos pelo mundo e muita gente acompanhou a parada de perto. /2
Fui para Athenas na Grécia, para Amsterdã em Netherlands palestrar para mais de 2 mil pessoas (como na foto) e por fim em Tel Aviv em Israel para também mais de 2 mil pessoas presencialmente 🚀🚀 /3