edge-extension-deploy

v1.0.3
Deploy Edge extensions to the Windows Store.

edge-extension-deploy Build Status Coverage Status

Deploy Edge extensions to the Windows Store.

Installation

npm install --save-dev edge-extension-deploy

Usage

var fs = require('fs');
var deploy = require('edge-extension-deploy');

deploy({
  // Azure AD credentials
  tenantId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  clientId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',
  clientSecret: 'bXlDbGllbnRTZWNyZXQ=',

  // Windows Store ID of the extension (from the Dev Center dashboard)
  appId: '123456789ABC',

  // OPTIONAL: if specified, will push a flight submission instead of the main submission
  flightId: 'xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx',

  // ReadStream of an (unsigned) appx
  appx: fs.createReadStream('path/to/extension.appx')
}).then(function() {
  // success!
}, function(err) {
  // failure :(
  // errors are sanitized, so your tokens will not be leaked
});
npm i edge-extension-deploy

Metadata

  • MIT
  • Whatever
  • Erik Desjardins
  • released 11/2/2019

Downloads

Maintainers