Microsoft lays out a buffet of Windows goodies for JavaScript Developers

https://image.theregister.com/5279270.jpg?imageId=5279270&x=0&y=0&cropw=100&croph=100&panox=0&panoy=0&panow=100&panoh=100&width=1200&height=683

Just don’t call the WinRT projection for Node.js a lock-in

If you want your JavaScript app to have access to Microsoft's OS features, it's now easier than ever. Redmond is giving JavaScript and TypeScript devs first-class access to some Windows internals to make their lives easier, via new “dynamic projections,” as Microsoft calls these new language bindings.

JavaScript applications have been seeping onto the Windows desktop for years. Originally designed for the Web, JavaScript — and its more formal TypeScript superset — have been used to build desktop apps as well.

The Windows Runtime API (WinRT) projection for Node.js, now available in public preview, isn't giving developers access to heretofore-forbidden Windows powers; it just makes it much easier for them to connect to these capabilities.

Through a Node.js or Electrondeveloper environment, JavaScript developers can write hooks to data-oriented Windows Runtime APIs such as on-device AI, storage, notifications, networking,...

Copyright of this story solely belongs to theregister.com. To see the full text click HERE

Read more