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
- Host: GitHub
- URL: https://github.com/plasmohq/mozilla-addons-api
- Owner: PlasmoHQ
- License: mit
- Created: 2022-02-19T21:39:42.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-04-13T11:13:29.000Z (about 1 year ago)
- Last Synced: 2025-04-15T06:54:52.220Z (about 1 year ago)
- Topics: firefox-addon, mozilla-firefox-addon, web-extension
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/@plasmo-corp/mwu
- Size: 185 KB
- Stars: 17
- Watchers: 2
- Forks: 4
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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)