talira

Call all Node.js modules directly from DOM and Web Workers

open sourceMITfree

NW.js (formerly node-webkit) is an app runtime built on Chromium and Node.js for making desktop apps for Linux, macOS and Windows with HTML, CSS, JavaScript and WebGL. It runs Node and the web page in the same thread, so page scripts and Web Workers call Node.js APIs and npm modules directly and share one heap. It has guides for packaging apps and for protecting JavaScript source by compiling it, and ships normal and SDK builds, tracking current Chromium and Node releases: v0.120.0 in November 2026 is on Chromium 157 and Node.js 26. It was created in Intel's Open Source Technology Center, is maintained by its community, and is MIT licensed.

Problems it solves

  • turn my web app into a desktop app for Windows, macOS and Linux
  • call Node.js modules straight from my page's JavaScript without IPC
  • ship a desktop app built with HTML and CSS that can read and write local files
  • package an HTML5 game as a desktop executable
  • protect the JavaScript source of my desktop app from being read
  • use npm packages in a desktop app's UI code directly

Features

  • Node.js APIs and npm modules callable from the DOM and Web Workers
  • Node and the page share one thread and heap
  • HTML5, CSS3, JavaScript and WebGL
  • Linux, macOS and Windows
  • packaging and distribution guides
  • JavaScript source protection
  • SDK builds
  • nightly builds

Alternatives

The same job

These do what NW.js does.

  1. Electron Build cross-platform desktop apps with JavaScript, HTML, and CSS
  2. Tauri Build small, fast desktop and mobile apps with a web frontend and a Rust backend.

Compare NW.js with the top 3