opera-extension-deploy

v0.2.3
Deploy Opera extensions to the Opera Store. (hacky)

opera-extension-deploy Build Status Coverage Status

Deploy Opera extensions to the Opera Store. (hacky)

Warning: this uses undocumented internal APIs. It may break (or burn your house down) at any time.

Installation

npm install --save-dev opera-extension-deploy

Usage

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

deploy({
  // Opera account credentials
  username: 'myUsername',
  password: 'hunter2',

  // Addon id, from https://addons.opera.com/developer/package/<id>/
  id: '123456',

  // a Buffer or string containing your zipped extension
  zip: fs.readFileSync('path/to/zipped/extension.zip')
}).then(function() {
  // success!
}, function(err) {
  // failure :(
  // errors are sanitized, so your credentials will not be leaked
});
npm i opera-extension-deploy

Metadata

  • MIT
  • Whatever
  • Erik Desjardins
  • released 5/2/2018

Downloads

Maintainers