Microsoft lays out a buffet of Windows goodies for JavaScript Developers

← Back to the feed

Microsoft lays out a buffet of Windows goodies for JavaScript Developers

The Register · 4 hours ago

Microsoft has released a public preview of a new Windows Runtime (WinRT) projection for Node.js, giving JavaScript and TypeScript developers much easier access to Windows OS features from within Node.js or Electron apps. Rather than unlocking previously restricted capabilities, the move removes the need for developers to write native C++ or C# bridge code to connect their apps to Windows APIs, lowering the barrier for web-focused coders who lack native toolchains or C++ expertise.

The new system uses a Node runtime package called dynwinrt alongside a companion command-line tool, winappCli, which automatically generates JavaScript wrappers and TypeScript declarations at build time, drawing on Windows Metadata (winmd) introduced in Windows 8. This means wrappers update automatically if the underlying API metadata changes, avoiding manual rewrites. The projection opens up nearly all non-UI Windows capabilities, including notifications, file/folder pickers, storage, networking, sensors, security and globalisation features, with UI functions excluded since Electron already handles those. Microsoft is particularly keen to highlight access to on-device AI capabilities, such as text generation, summarising and rewriting, reflecting the company's broader push towards local AI that avoids reliance on costly frontier AI labs.

  • Microsoft launches WinRT projection for Node.js in public preview
  • Lets JS/TS developers tap Windows APIs without writing native C++ bridges
  • Enables access to storage, notifications, networking and on-device AI features

Business Markets Software Technology

Read the full article at the source →