JSPM

@plasmohq/cwu

2.4.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 3
  • Score
    100M100P100Q41240F
  • License MIT

Chrome webstore API

Package Exports

  • @plasmohq/cwu

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

License

MIT 🚀 Plasmo