JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 130
  • Score
    100M100P100Q81227F
  • License MIT

Hosted Web App Launcher

Package Exports

  • hwa

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (hwa) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

hwa

Basic Usage

Launch a Windows 10 Hosted Web App pointing to http://example.com. Note that the protocol (e.g. http:// or https://) is required:

hwa http://example.com

hwa will automatically detect if you are pointing to localhost and will require admin privileges for a loopback exemption.

Launch the Windows 10 Testbed App

hwa

Programmatic access

There are two functions exported with hwa, updateStartpage() and registerApp().

To update the manifest's startpage:

var hwa = require('hwa');
hwa.updateStartpage('http://example.com');

To launch the app:

hwa.registerApp();

To specify your own manifest:

var path = require('path');
var hwa = require('hwa');
hwa.registerApp(path.resolve('path/to/manifest'));

Code of Conduct

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.