Member-only story
6 Major Features of Node.js 19
Details of Node.js 19 new features, including experimental node watch mode and HTTP(S)/1.1 KeepAlive by default
Node.js major release is rolled out every six months. The new release becomes the Current
release for six months, which gives library authors time to add support for them.
After six months, odd-numbered releases, such as 19, become unsupported, and even-numbered releases, such as 18, move to the Active LTS
(long-term support) status and are ready for general use.
LTS
release typically guarantees that critical bugs will be fixed for a total of 30 months. Production applications should only use Active LTS
or Maintenance LTS
releases.
Node.js 19 was released on October 18, 2022. It becomes the Current
release. It comes with 6 major features:
- Experimental node watch mode
- HTTP(S)/1.1 KeepAlive by default
- Stable WebCrypto
- Custom ESM resolution adjustments
- Dropped DTrace/SystemTap/ETW support
- V8 JavaScript engine is updated to V8 10.7
Let’s explore what they are and how to use them.
Use NVM to explore node
In a previous article, we provided instructions on using NVM (Node Version Manager) to manage Node.js and NPM versions.
Run the command to install node 19.0.0:
On any window, run the command to use node 19:
Now we’re ready to explore: