Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@plasmohq/chrome-webstore-api

PlasmoHQ39.4kMIT2.11.0TypeScript support: included

Chrome webstore API

browser-extensions, chrome, webstore, browser-plugins

readme

plasmo logo banner

See License NPM Install Follow PlasmoHQ on Twitter Watch our Live DEMO every Friday Join our Discord for support and chat about our projects typescript-action status

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

License

MIT 🚀 Plasmo