open-index/open-npm huggingface dataset:
npm package: @nadavbar/windows.devices.sensors
Description: Use the Windows.Devices.Sensors UWP API directly from Node.js
Author: Generated by NodeRT
Latest version: 0.1.9

windows.devices.sensors
=====

A Node.js wrapper for the <a href="http://msdn.microsoft.com/en-us/library/windows/apps/Windows.Devices.Sensors.aspx" target="_blank">Windows.Devices.Sensors</a> WinRT namespace, compatible with Windows 8.1.

Using this module, you'll be able to consume the <a href="http://msdn.microsoft.com/en-us/library/windows/apps/Windows.Devices.Sensors.aspx" target="_blank">Windows.Devices.Sensors</a> API directly from Node.js.

This module was automatically generated by <a href="https://github.com/NodeRT/NodeRT" target="_blank">NodeRT</a>. 
For more information on NodeRT and examples on how to use NodeRT modules, please visit the project page at: <a href="https://github.com/NodeRT/NodeRT" target="_blank">https://github.com/NodeRT/NodeRT</a>.

The API exposed by this module is (almost) the same as the API that is listed in: <a href="http://msdn.microsoft.com/en-us/library/windows/apps/Windows.Devices.Sensors.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/windows/apps/Windows.Devices.Sensors.aspx</a>

The only difference in the API is in the way that asynchronous methods and events are used. (See <a href="https://github.com/NodeRT/NodeRT#ConsumingNodeRT" target="_blank">https://github.com/NodeRT/NodeRT#ConsumingNodeRT</a> for more details)

This module also contains TypeScript definition files for the API exposed by the module, as well as JavaScript intellisense support for <a href="http://nodejstools.codeplex.com/" target="_blank">Node.js tools for Visual Studio</a>.

Prequisites:
============
* Visual Studio 2013, or <a href="http://www.microsoft.com/en-gb/download/details.aspx?id=40787" target="_blank">VS 2013 Express for Windows Desktop</a>.
* <a href="https://github.com/TooTallNate/node-gyp" target="_blank">node-gyp</a>. (Make sure to also have python installed).

Installation:
=============
In order to install this module, run npm install:

```
npm install windows.devices.sensors
```

If you wish to rebuild this module using node-gyp, make sure to use the --msvs_version=2013 flag:

```
cd [module folder path]
node-gyp rebuild --msvs_version=2013
```