Skip to content

eric2788/edge-addons-api

 
 

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

Microsoft Edge Addons API for NodeJS

A tiny but powerful module from plasmo to publish browser add-ons to the Microsoft Edge Web Store.

This module uses got to upload, check status, and submit an extension to the Microsoft Edge Webstore, using the Microsoft Edge Add-ons API.

Features include:

  • TypeScript API
  • ESM (if you need cjs, please file an issue)
  • Pinned dependencies, updated via renovatebot

Installation

npm install --save-dev @plasmohq/edge-addons-api

Usage

Authentication

You'll need to get a productId, clientId, clientSecret, and accessTokenUrl for your project.

You can get these for your project by following the Microsoft Edge Add-Ons API guide.

Node.js API

import { EdgeAddonsAPI } from "@plasmohq/edge-addons-api"

const client = new EdgeAddonsAPI({
  productId,
  clientId,
  clientSecret,
  accessTokenUrl
})

await client.submit({
  filePath: "./dist/my-extension.zip",
  notes: "Developer notes"
})

License

MIT πŸ–– Plasmo

About

πŸ“ Edge Addons API Library for nodejs

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.2%
  • JavaScript 12.8%