JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 143
  • Score
    100M100P100Q81366F
  • 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:

hwa "http://example.com"

Launch a Windows 10 Hosted Web App pointing to http://localhost:3000:

hwa -lh 3000

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:

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

To launch the app:

require('hwa');
hwa.registerApp(false);