WinJS

Developer(s)| Microsoft
Initial release| October 26, 2012; 13 years ago (2012-10-26)
Stable release|

4.4.5 / January 25, 2019; 7 years ago (2019-01-25)

Repository| github.com/winjs/winjs
Written in| JavaScript, TypeScript
Operating system| Windows 8,
Windows 10,
Windows Phone 8.1,
Windows 10 Mobile,
Xbox One system software
Type| Software framework
License| Apache License 2.0
Website| www.buildwinjs.com

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 WinRT 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 to port it to other than Microsoft platforms. A site dedicated to demonstrating the library has also been published.[2]

Future development on WinJS is focused on maintaining what currently exists in the project. There are no plans for new features or feature requests, meaning no plans for a new feature release.[3] However, the WinJS repository hasn't had a new commit since 2020.[4]

## Contents

* 1 Overview
* 2 Features
* 3 Version history
* 3.1 WinJS 1.0
* 3.2 WinJS 2.0
* 3.3 WinJS 3.0
* 3.4 WinJS 4.0
* 4 See also
* 5 References
* 6 External links

## Overview

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.

## Features

* 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[5] 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.[6][7]

## See also

* HTML5
* JavaScript
* JScript
* React Native, alternative JavaScript library for UWP application development
* Windows 8
* Windows Runtime
* JavaScript library
* Web framework

## References

1. ↑ "Building Xbox One Apps using HTML and JavaScript". Building Apps for Windows. Microsoft. http://channel9.msdn.com/Events/Build/2014/2-647.
2. ↑ "Extending platform commonality through universal Windows apps". Building Apps for Windows. Microsoft. 2 April 2014. http://blogs.windows.com/buildingapps/2014/04/02/extending-platform-commonality-through-universal-windows-apps/.
3. ↑ "winjs/winjs". https://github.com/winjs/winjs/blob/1878cb869c2b98d4769cb931f1abd83a2e208e07/README.md.
4. ↑ "winjs/winjs". https://github.com/winjs/winjs/commits/master/.
5. ↑ "WinJS Everywhere". Building Apps for Windows. Microsoft. 17 September 2014. http://blogs.windows.com/buildingapps/2014/09/17/winjs-everywhere/.
6. ↑ "A Preview of WinJS 4.0". Microsoft. 27 March 2015. http://blogs.windows.com/buildingapps/2015/03/27/a-preview-of-winjs-4-0/.
7. ↑ "WinJS 4.0 released". Microsoft. 8 June 2015. http://blogs.windows.com/buildingapps/2015/06/08/winjs-4-0-released/.

* Isaacs, Scott; Burns, Kyle (2013). "WinJS Collection Controls" (in en). Beginning Windows Store Application Development–HTML and JavaScript Edition. Apress. pp. 93–112. doi:10.1007/978-1-4302-5780-6_7. ISBN 978-1-4302-5780-6. https://link.springer.com/chapter/10.1007/978-1-4302-5780-6_7. Retrieved 18 March 2025.
* Kumar, Senthil; Nagaraj, Lohith Goudagere; Rawal, Pathik; Rohilla, Pryank (2016). "Chapter 2: WinJS Fundamentals" (in en). Windows 10 Development Recipes: A Problem-Solution Approach in HTML and JavaScript. Apress. pp. 15–30. doi:10.1007/978-1-4842-0719-2_2. ISBN 978-1-4842-0719-2. https://link.springer.com/chapter/10.1007/978-1-4842-0719-2_2. Retrieved 18 March 2025.

## External links

* Developing Windows Store apps (HTML)
* WinJS Namespace
* WinJS Playground
* WinJS project on GitHub

* v
* t
* e

Microsoft free and open-source software (FOSS)

Overview|

* Microsoft and open source
* Shared Source Initiative

Software|

| Applications|

* Atom
* Conference XP
* File Manager
* Open Live Writer
* PowerToys for Windows 10
* Windows Calculator
* Windows Console
* Windows Terminal
* WorldWide Telescope
* XML Notepad

|

Video games|

* Allegiance

Programming languages|

* Bosque
* C#
* Dafny
* F#
* F*
* IronPython
* IronRuby
* P
* PowerShell
* Q#
* R Open
* Small Basic
* TypeScript
* Visual Basic .NET

Frameworks and
development tools|

* .NET Bio
* .NET Core
* .NET Framework
* .NET Micro Framework
* AirSim
* ASP.NET
* ASP.NET AJAX
* ASP.NET Core
* ASP.NET MVC
* ASP.NET Razor
* ASP.NET Web Forms
* Blazor
* C++/WinRT
* ChakraCore
* CLR Profiler
* DiskSpd
* Dryad
* Electron
* Entity Framework
* Managed Extensibility Framework
* Microsoft Automatic Graph Layout
* Microsoft Cognitive Toolkit
* Microsoft Detours
* ML.NET
* Mono
* MonoDevelop
* MSBuild
* NuGet
* Open Management Infrastructure
* Orleans
* ProcDump
* R Tools for Visual Studio
* Roslyn
* Sandcastle
* SignalR
* StyleCop
* SVNBridge
* T2 Temporal Prover
* Text Template Transformation Toolkit
* vcpkg
* Virtual File System for Git
* Visual Studio Code
* Windows Communication Foundation
* Windows Driver Frameworks
* Windows Forms
* Windows Presentation Foundation
* Windows Template Library
* WinJS
* WiX
* Z3 Theorem Prover

Operating systems|

* MS-DOS
* Barrelfish

Licenses|

* Microsoft Public License
* Microsoft Reciprocal License

Related|

* .NET Foundation
* F Sharp Software Foundation
* Microsoft Open Specification Promise
* Outercurve Foundation

Category

0.00

(0 votes)

Original source: https://en.wikipedia.org/wiki/WinJS. Read more

|

Retrieved from "https://handwiki.org/wiki/index.php?title=Software:WinJS&oldid=3953815"
*[v]: View this template
*[t]: Discuss this template
*[e]: Edit this template