Skip to content

PlasmoHQ/chrome-webstore-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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