How does Node.js work with NW.js and Electron?

From Cross-Platform Desktop Applications by Paul Jensen

Those who’ve used Node.js in the past may be curious about how it works in a hybrid desktop application environment such as NW.js or Electron. The truth is it’s not that different from how it already works in server-side applications, but there are a few items of difference, and to understand what those are and why this is the case, we’ll start by looking at the way Node.js is integrated into NW.js.

© 2023 Manning — Design Credits