Stable release
4.4.4 / July 25, 2017; 10 months ago (2017-07-25)
Repository Edit this at Wikidata
Written in JavaScript
License Apache License 2.0

The Windows Library for JavaScript (abbreviated as WinJS) is an open source JavaScript library developed by Microsoft. It has been designed with the primary goal of easing development of Windows Store apps for Windows 8 and Windows 10, as well as Windows Phone apps for Windows Phone 8.1, Windows 10 Mobile and Xbox One[1] applications using HTML5 and JavaScript, as an alternative to using XAML and C#, VB.NET or C++ (CX).

WinJS started as a technology that was specific to Windows Store apps, but has evolved to aim at working in any Web browser.

In April 2014, during the Microsoft Build developer conference, WinJS was released under the Apache License as free and open source software with the intent to port it to other than Microsoft platforms. A site dedicated to demonstrate the library has also been published.[2] Future development is focused on maintaining what currently exists in the project. There are no plans for new features or feature requests, meaning there are no plans for a new feature release.[3]


WinJS provides helpers that facilitate the development of Windows Store apps using HTML5 and JavaScript. The library consists of modules and functions that expose the Windows Runtime in a way that is consistent with JavaScript coding conventions. WinJS makes it possible to add Windows UI controls in HTML. This is accompanied by support for data binding and a template engine.

Other JavaScript frameworks, such as JQuery, can work side-by-side with WinJS. The library comes with additional declaration files for a rich developer experience using TypeScript, a strict superset of JavaScript with annotations. TypeScript enables for code completion and refactoring while maintaining compatibility with JavaScript.


  • UI controls with fundamental support for touch, mouse and keyboard.
  • Scaffolding.

Version History

WinJS 1.0

The first version of WinJS. It was released with Windows 8.

WinJS 2.0

WinJS was released as open-source software under the Apache License on GitHub by popular demand. The project aimed at cross-platform and browser compatibility. The following distributions are derived from WinJS 2.0:

  • WinJS 2.0 for Windows 8.1
  • WinJS Xbox 1.0 for Windows
  • WinJS Phone 2.1 for Windows Phone 8.1

WinJS 3.0

WinJS 3.0 was released in September, 2014[4] with special focus on:

  • Cross-browser/cross-platform support spanning the most popular desktop and mobile browsers, as well as HTML-based app environments like Apache Cordova
  • JavaScript modularization giving developers the control to optimize their performance and load just the modules of the WinJS library they need for their Web site or app
  • Improved universal control designs

WinJS 4.0

A Preview of WinJS 4.0 was announced on March 27, 2015, and the full release was announced on June 8.[5][6]


  1. ^ "Building Xbox One Apps using HTML and JavaScript". Building Apps for Windows. Microsoft. Retrieved 2015. 
  2. ^ "Extending platform commonality through universal Windows apps". Building Apps for Windows. Microsoft. Retrieved 2014. 
  3. ^ "winjs/winjs". GitHub. Retrieved . 
  4. ^ "WinJS Everywhere". Building Apps for Windows. Microsoft. Retrieved 2014. 
  5. ^ "A Preview of WinJS 4.0". Microsoft. Retrieved 2015. 
  6. ^ "WinJS 4.0 released". Microsoft. Retrieved 2015. 

See also

External links

  This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.



Connect with defaultLogic
What We've Done
Led Digital Marketing Efforts of Top 500 e-Retailers.
Worked with Top Brands at Leading Agencies.
Successfully Managed Over $50 million in Digital Ad Spend.
Developed Strategies and Processes that Enabled Brands to Grow During an Economic Downturn.
Taught Advanced Internet Marketing Strategies at the graduate level.

Manage research, learning and skills at defaultLogic. Create an account using LinkedIn or facebook to manage and organize your Digital Marketing and Technology knowledge. defaultLogic works like a shopping cart for information -- helping you to save, discuss and share.

Visit defaultLogic's partner sites below: : Music Genres | Musicians | Musical Instruments | Music Industry
NCR Works : Retail Banking | Restaurant Industry | Retail Industry | Hospitality Industry

  Contact Us