Chromium Extensions integrated into ElectronJS
npm install dot-extension-manager
bash
$ npm i dot-extension-manager
`
🚦 Usage
The library is really easy-to-use. All you have to do is to put the following code in your main process:
`typescript
import { ExtensibleSession } from 'electron-extensions';
import { app, session } from 'electron';
app.on('ready', () => {
...
const extensions = new ExtensibleSession(session.defaultSession);
extensions.loadExtension('C:/.../abcdefghijklmnoprstuwxyz'); // Path to the extension to load
...
});
``