UNPKG

windows.globalization.datetimeformatting

Version:

Use the Windows.Globalization.DateTimeFormatting WinRT API directly from Node.js

35 lines (24 loc) 2.29 kB
windows.globalization.datetimeformatting ===== A Node.js wrapper for the <a href="http://msdn.microsoft.com/en-us/library/windows/apps/Windows.Globalization.DateTimeFormatting.aspx" target="_blank">Windows.Globalization.DateTimeFormatting</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.Globalization.DateTimeFormatting.aspx" target="_blank">Windows.Globalization.DateTimeFormatting</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.Globalization.DateTimeFormatting.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/windows/apps/Windows.Globalization.DateTimeFormatting.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.globalization.datetimeformatting ``` 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 ```