NW.js Single-Context Architecture: Why Direct Node Access in the Renderer Changes Desktop App Design
NW.js merges Node.js and Chromium into one JavaScript context—letting you call require('fs') directly from HTML. That convenience reshapes threading, security, and distribution. A worked example shows the pattern and the pitfalls.