chrome-extension-publisher
v1.0.4
Published
Publish your chrome extension quickly and easily.
Downloads
11
Readme
📦 Chrome Extension Publisher
🎉 Instalation Is So Easy !
npm i chrome-extension-publisher
🖥 Usage
ES6
import chromePublisher from 'chrome-extension-publisher';
const publisher = chromePublisher({
extensionID: 'my-extension-id', /* Your extension ID */,
token: 'my-token' /* Your OAuth token */
});
const path_to_your_extension_folder = 'my-extension/',
(async () => {
await publisher(path_to_your_extension_folder);
})();
ES5
const chromePublisher = require('chrome-extension-publisher');
const publisher = chromePublisher({
extensionID: 'my-extension-id', /* Your extension ID */,
token: 'my-token' /* Your OAuth token */
});
const path_to_your_extension_folder = 'my-extension/',
publisher(path_to_your_extension_folder)
.then(function () { console.log('Yeah! My extension is published! 🎉') });
.catch(function (e) { console.log('Arf! 🤨', e) });
🎛 How to get my token ?
Follow theses steps 😉.