1.1.7 • Published 1 year ago

webextension-store v1.1.7

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Web Extension Store

Node library to publish to Chrome extension web store and Firefox extension web store.

Chrome

Basic Usage:

import {ChromeWebStore} from "webextension-store";

const store = new ChromeWebStore(
    extensionId,
    clientId,
    refreshToken,
    clientSecret,
);
const chrome_res = await store.uploadExisting(zipfile)
console.log(JSON.stringify(chrome_res))
const publish_res = await store.publish()
console.log(JSON.stringify(publish_res))

Access token:

Read: https://github.com/maoserr/chrome_extension_publish/blob/main/README.md

Firefox

Basic Usage:

import {MozillaWebStore} from "webextension-store";
const store = new MozillaWebStore(
    extensionId,
    apiKey,
    apiSecret
)
const ff_res = await store.uploadPackage(zipfile)
console.log(JSON.stringify(ff_res))
const new_res = await store.createNewVersion(ff_res.uuid, srcFile)
console.log(JSON.stringify(new_res))

Access token:

Read: https://github.com/maoserr/firefox_extension_publish/blob/main/README.md

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.3

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago