Microsoft Edge Addons API for Node.js
npm install @plasmo-corp/ewu
npm install --save-dev @plasmo-corp/ewu
`
Usage
$3
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.
$3
`ts
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"
})
``