plasmo-foss / edge-addons

Edge Addons API Library for nodejs

Home Page:https://www.npmjs.com/package/@plasmo-corp/ewu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 @plasmo-corp/ewu

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 { EdgeWebstoreClient } from "@plasmo-corp/ewu"

const client = new EdgeWebstoreClient({
  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

https://www.npmjs.com/package/@plasmo-corp/ewu

License:MIT License


Languages

Language:TypeScript 87.9%Language:JavaScript 12.1%