O'Reilly logo

Cross-Platform Desktop Applications: Using Node, Electron, and NW.js by Paul B. Jensen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 5. Using Node.js within NW.js and Electron

This chapter covers

  • Exploring Node.js
  • Understanding the asynchronous nature of Node.js
  • Managing events and streams
  • Installing and using npm modules
  • Packaging your apps with npm

Long before NW.js and Electron, a programming framework called Node.js was demoed by Ryan Dahl at JSConf in Berlin, showing a way to write and execute server-side JavaScript. Since that demo back in 2009, Node.js has spawned a huge ecosystem of libraries, applications, utilities, and frameworks (including NW.js and Electron). As a programming framework, it offers a different approach compared with other programming languages and their frameworks.

For those new to the world of Node.js, this chapter offers a gentle ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required