← all releases
Microsoft·Jul 27, 2026·v0.1.0-preview.18·open source
dynwinrt
dynwinrt is a dynamic Windows Runtime (WinRT) API projection for Node.js and Electron that allows developers to call native Windows APIs directly from JavaScript or TypeScript. It eliminates the need for writing native C++ addons or complex build steps by reading .winmd metadata and invoking COM vtables at runtime via libffi.
featured on blogWinRTNode.jsElectronWindows App SDK
on the blogMicrosoft Introduces dynwinrt: A New Way to Bring Native Windows APIs to Node.js (No C++ Required) 5 min
overview
dynwinrt is a dynamic Windows Runtime (WinRT) API projection for Node.js and Electron that allows developers to call native Windows APIs directly from JavaScript or TypeScript. It eliminates the need for writing native C++ addons or complex build steps by reading .winmd metadata and invoking COM vtables at runtime via libffi.
key features
- 01Dynamic invocation of WinRT APIs via libffi
- 02Automatic generation of typed JavaScript and TypeScript wrappers
- 03No requirement for native C++ addons or node-gyp
- 04Support for async operations, generic collections, and delegates
- 05Compatible with both Electron and plain Node.js processes
related productsbrowse all →