uwp1.0.2 • Public • Published
Enables Universal Windows Platform (UWP) API access for Node.js (Chakra build) on Windows 10.
const uwp = ;const Windows = uwp;WindowsStorageKnownFoldersdocumentsLibrary;
Run under Node.js (Chakra) command prompt:
npm install uwp
This package exports 2 functions.
Project a UWP namespace of given name.
- Note: This function will keep Node process alive so that your app can continue to run and handle UWP async callbacks. You need to call close() when UWP usage is completed.
Close all UWP handles used by this package. Call this when all UWP usage is completed.
Checkout our OSS effort with Node-ChakraCore. It supports the most recent version of node.js and will also be useful if you are on Windows 7 or Windows 8.1. Note: It does not support UWP.