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 ...
Get Cross-Platform Desktop Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.