I'm really confused about those version numbers right now. I'm planning a new project and am wondering what the differences are between those 2 versions. It seems to be a big jump between those 2 versions but right now I cannot find a difference.
Is it safe to use version 4.1?
Thank you for any help!
So if you come across a Node tutorial, make sure it's using version 6 and up. In fact, 99% of the modern JavaScript features are now supported with Node version 6 and up (Node. green, 2020).
js v18 is the Current version! Node. js 18 will be the 'Current' release for the next 6 months and then promoted to Long-term Support (LTS) in October 2022.
Node. js is based on the v8 JavaScript engine of Chrome and can be easily installed on various operating systems such as Windows, macOS, and Linux-based systems e.g. Ubuntu.
The jump to v4 is a result of the merge with io.js
, taken from the blog
Node.js v4.0.0 contains V8 v4.5, the same version of V8 shipping with the Chrome web browser today. This brings with it many bonuses for Node.js users, most notably a raft of new ES6 features that are enabled by default including block scoping, classes, typed arrays (Node's Buffer is now backed by Uint8Array), generators, Promises, Symbols, template strings, collections (Map, Set, etc.) and, new to V8 v4.5, arrow functions.
As for breaking changes between the old and new version lines, you need to look here to see if this meets your criteria for 'safe'.
I recommend you install node with nvm (if you haven't already) and just play around with the two versions to see if you are comfortable switching now.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With