Node.js 13 brings programming enhancements, worker threads


Node.js 13, the latest version of the well-liked JavaScript runtime, was produced this week, emphasizing worker threads, programming enhancements, and internationalization capabilities.

Node.js 13 replaces Node.js 12 as the “current” launch but Node.js 12 remains the extensive-time period assist (LTS) release. Hence Node.js 13 is not advisable for generation use. Nevertheless, Node.js 13 will be helpful for building and tests the hottest characteristics. Developers can use Node.js 13 to assure that their offers and purposes will be compatible with potential versions.

These are the crucial new capabilities in Node.js 13:

  • Worker threads for executing CPU-intensive JavaScript operations are now steady in equally Node.js 12 and Node.js 13.
  • Node.js releases now are developed with default full-ICU (Intercontinental Elements for Unicode) support. All locales supported by ICU are provided and Intl-relevant APIs could return different values than just before.
  • N-API, for constructing native incorporate-ons, has been up to date with additional supported functions.
  • If the validation functionality handed to assert.throws() or assert.rejects() returns a price moreover legitimate, an assertion error will be thrown rather of the authentic error. This will emphasize the programming slip-up. Also, if a constructor operate is passed to validate the instance of errors thrown in assert.toss() or assert.reject(), an assertion will be thrown rather of the primary mistake.
  • The minimal supported model of Xcode is now Xcode 10. Xcode is Apple’s integrated enhancement setting, readily available only for MacOS. Builders can go on to use Xcode 8 for now, but this might improve in a future Node.js 13.x release.
  • The Google V8 JavaScript motor used in Node.js has been updated to model 7.8, which provides performance advancements for object destructuring, memory usage, and WebAssembly startup time.
  • For HTTP communications, info will no longer be emitted immediately after a socket mistake. In addition, the legacy HTTP parser has been eliminated and the ask for.connection and reaction.relationship attributes have been runtime deprecated. The equal request.socket and response.socket really should be made use of rather.
  • The timing and conduct of streams was consolidated for quite a few edge situations.

Exactly where to down load Node.js

You can down load Node.js from the challenge web-site.


Previous articleVisual Studio Code updates Java support
Next articleIntel to Chase AMD in 2020 With High Core Counts in Ice Lake Xeon