An open API service indexing awesome lists of open source software.

https://github.com/plasmohq/mozilla-addons-api

Mozilla Addons API
https://github.com/plasmohq/mozilla-addons-api

firefox-addon mozilla-firefox-addon web-extension

Last synced: 8 months ago
JSON representation

Mozilla Addons API

Awesome Lists containing this project

README

          



plasmo logo banner



See License


NPM Install


Follow PlasmoHQ on Twitter


Watch our Live DEMO every Friday


Join our Discord for support and chat about our projects


typescript-action status

# Mozilla Webstore Upload

A nodejs library from [plasmo](https://www.plasmo.com/) to publish browser add-ons to the [Mozilla Firefox Add-ons Store](https://addons.mozilla.org/en-US/firefox/).

Feature includes:

- TypeScript
- ESM (if you need cjs, file an issue)
- Pinned dependencies, updated via renovatebot

## Usage

## nodejs API

```ts
import { MozillaAddonsAPI } from "@plasmohq/mozilla-addons-api"

const client = new MozillaAddonsAPI({
extId,
apiKey,
apiSecret
})

await client.submit({
filePath: zip,
version: manifest.version
})
```

# Acknowledgment

- This library uses [got](https://github.com/sindresorhus/got) to upload and check status of browser add-on with the [mozilla add-on server](https://addons-server.readthedocs.io/en/latest/topics/api/signing.html#uploading-a-version).
- It is a hard fork of [mozilla/sign-addon](https://github.com/mozilla/sign-addon/). The sign-addon module uses the unmaintained/archived [request module](https://www.npmjs.com/package/request).

# License

[MIT](./license) 🚀 [Plasmo](https://plasmo.com)