@plasmo-corp/cwu
v2.4.0
Published
Chrome webstore API
Downloads
17
Maintainers
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
and refreshToken
, see: token guide
nodejs API
import { ChromeWebstoreClient } from "@plasmo-corp/cwu"
const client = new ChromeWebstoreClient({
extId,
clientId,
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/