Node.js v20 is here! ๐ฑ
A thread on what's new ๐งต๐
๐ฑ Main updates for Node.js 20
โข Experimental Permission Model
โข A synchronous import.meta.resolve
โข V8 JavaScript engine updated to 11.3
โข Single Executable Apps
โข Stable Test Runner
โข Ada to 2.0
๐ Enhanced Security with Permission Model
Restrict access to resources, improve security. Built over 9 months, behind --experimental-permission flag.
The ability to access the filesystem, spawn process, and create worker_threads can be restricted.
๐ V8 JavaScript Engine 11.3
5 new features: String methods, Array methods, Resizable ArrayBuffer, RegExp v flag, WebAssembly Tail Call
๐งช Stable Test Runner
Create JavaScript tests with ease. Experimental in Node.js 19, now stable!
๐ฆ Distribute Node.js Apps Easily
Single Executable Apps: distribute without Node.js installed. Used by Electron. Microsoft is investigating it as a way to reduce vector attacks.
๐ Thanks to Node.js Contributors!
94.6K Stars, 24.7K Forks on GitHub.
I hope you learned something new today.
Follow me for more technical threads โ @MrAhmadAwais ๐
Like the content? Retweet for signal. Let's go.
Not to overstate the obvious, but I'm a big fan boy of Node.js and its impact on the web ecosystem. Learn everything I know from
FREE: NodejsBeginner.com
โฏ Nodejs Fundamentals and CLI Basics
PREMIUM: NodeCLI.com
โฏ100+ videos, for beginners, 22+ Projects