dot-extension-manager
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Dot Extensions

Allows you to use Chromium extensions in Electron

⏬ Installation

$ 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:

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
  ...
});
 

🤝 Support

For support, join our support discord server.

Discord

📄 Documentation

Head over to our wiki page for documentation.

🧱 Built With

🖋 Authors

🤵 License

This project is licensed under the MIT License - see the LICENSE file for details

Package Sidebar

Install

npm i dot-extension-manager

Weekly Downloads

3

Version

1.0.2

License

none

Unpacked Size

168 kB

Total Files

105

Last publish

Collaborators

  • enderdev