@plasmohq/chrome-webstore-api
v2.11.0
Published
Chrome webstore API
Downloads
4,459
Readme
Chrome Webstore API for NodeJS
A nodejs library from plasmo to submit browser extension to the Chrome Webstore.
Feature includes:
- TypeScript, with type exports
- ESM (if you need cjs, please use dynamic import)
- Pinned dependencies, updated via renovatebot
Usage
To obtain clientId
, clientSecret
, and refreshToken
, see: token guide
nodejs API
import { ChromeWebstoreAPI } from "@plasmohq/chrome-webstore-api"
const client = new ChromeWebstoreAPI({
extId,
clientId,
clientSecret,
refreshToken
})
await client.submit({
filePath: zip,
target: "trustedTesters"
})
Support
Join the Discord channel!
Acknowledgment
- This library is inspired by, and was a rewrite/hard-fork of fregante/chrome-webstore-upload/