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
$3
``
ts
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/
License
MIT 🚀
Plasmo