Below you can find RisingStack‘s collection of the most important Node.js news, updates & tutorials from this week:
The console.timeLog()method has been implemented.
- Upgrade to libuv 1.22.0.
- Upgrade to ICU 62.1 (Unicode 11, CLDR 33.1).
- http: Added support for passing both
- inspector: Expose the original console API in
- napi: Added experimental support for functions dealing with bigint numbers.
process.hrtime.bigint()method has been implemented.
- Added the
--titlecommand line argument to set the process title on startup.
- trace_events: Added process_name metadata.
- Added new collaborators: codebytere – Shelley Vohr
As Airbnb builds more of its Frontend around Server Side Rendering, and they took a look at how to optimize server configurations to support it.
Server side rendering represents a different workload from the canonical, mostly I/O workload that Node.js excels at. Understanding the cause of anomalous behavior allowed us to address it with off the shelf components with which we had existing operational experience.
You may have heard that Node.js has experimental support for N-API, a new API for native modules. Not anymore! N-API is now a stable and fully supported feature of Node.js as of version 10. It is also available as an experimental feature in Node.js 8 and 6.
With N-API, native module developers can compile their module once per platform and architecture, and make it available for any version of Node.js that implements N-API. This holds true even for versions of Node.js that are built with a different VM, e.g. Node-ChakraCore.
You can now beta-test two-factor authentication protection for individual packages in the npm Registry. This setting requires that every publication of a protected package be authorized by a one-time password. This requirement is enforced even if maintainers of that package haven’t required two-factor auth for publication themselves—they’ll still be prompted for a code for this package. If a maintainer hasn’t enabled two-factor auth at all, they’ll be unable to publish the package until they do.
You can test this feature using the npm canary client, npmc. It’s recommended to invoke the canary using npx:
npx npmc. You can also install the canary build of npm directly by running npm install -g npmc@latest.
During the course of these two days, we will cover a high-level architectural overview of what is needed to design, develop and maintain an application built with microservices.
We will examine a microservices application developed adhering to current best practices, deploy it on Kubernetes and add the necessary infrastructural elements to make it resilient and self-healing.
Today is the last day to get early bird tickets for #JSInteractive. Save $349 USD by registering NOW: http://bit.ly/JSIEarlybird
The event takes place in Vancouver, Canada from October 10-12!
Previous Node.js Updates:
From the previous Weekly Node.js Update:
- Postmortem for Malicious ESlint Packages Published on npm
- Testing Node.js in 2018
- Node.js REPL in Depth
We help you to stay up-to-date with Node.js on a daily basis too. Check out Node.js Daily!