# firefox-extension-deploy

> Deploy Firefox extensions to AMO.

Latest version **1.1.2** (published 2019-11-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install firefox-extension-deploy
pnpm add firefox-extension-deploy
yarn add firefox-extension-deploy
bun add firefox-extension-deploy
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2019-11-02 |
| First published | 2016-07-18 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Unpacked size | 5.4 KB |
| Known vulnerabilities | 0 (+3 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 11 |
| Author | Erik Desjardins |
| Maintainers | erikdesjardins |

## Links

- npm: https://www.npmjs.com/package/firefox-extension-deploy
- Repository: https://github.com/erikdesjardins/firefox-extension-deploy
- Homepage: https://github.com/erikdesjardins/firefox-extension-deploy#readme
- Issues: https://github.com/erikdesjardins/firefox-extension-deploy/issues
- npm.io page: https://npm.io/package/firefox-extension-deploy

## Dependencies (2)

- [superagent](https://npm.io/package/superagent.md) ^3.4.2
- [jsonwebtoken](https://npm.io/package/jsonwebtoken.md) ^8.5.1

## Recent versions

- 1.1.2 (latest) — 2019-11-02
- 1.1.1 — 2018-09-05
- 1.1.0 — 2017-02-13
- 1.0.0 — 2017-02-13
- 0.0.2 — 2016-07-18
- 0.0.1 — 2016-07-18

## README

# firefox-extension-deploy

Deploy Firefox extensions to AMO.

You should probably use [jpm sign](https://developer.mozilla.org/en-US/Add-ons/SDK/Tools/jpm#jpm_sign) or [web-ext sign](https://developer.mozilla.org/en-US/Add-ons/WebExtensions/web-ext_command_reference#web-ext_sign) instead.

## Installation

`npm install --save-dev firefox-extension-deploy`

## Usage

```js
var fs = require('fs');
var deploy = require('firefox-extension-deploy');

deploy({
  // obtained by following the instructions here:
  // https://addons-server.readthedocs.io/en/latest/topics/api/auth.html
  // or from this page:
  // https://addons.mozilla.org/en-US/developers/addon/api/key/
  issuer: 'myIssuer',
  secret: 'mySecret',

  // the ID of your extension
  id: 'exampleId@jetpack',
  // the version to publish
  version: '1.0.0',

  // a ReadStream containing a .zip (WebExtensions) or .xpi (Add-on SDK)
  src: fs.createReadStream('path/to/zipped/extension.zip'),
}).then(function() {
  // success!
}, function(err) {
  // failure :(
});
```

---
_Source: https://npm.io/package/firefox-extension-deploy · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
