https://github.com/jonluca/electron-extension-installer
Install extensions into devtools
https://github.com/jonluca/electron-extension-installer
Last synced: about 1 year ago
JSON representation
Install extensions into devtools
- Host: GitHub
- URL: https://github.com/jonluca/electron-extension-installer
- Owner: jonluca
- Created: 2023-04-06T19:49:10.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-20T09:48:47.000Z (almost 3 years ago)
- Last Synced: 2024-04-14T05:57:46.201Z (about 2 years ago)
- Language: TypeScript
- Size: 12.5 MB
- Stars: 29
- Watchers: 2
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Electron Extension Installer
[](https://www.npmjs.com/package/electron-extension-installer) [](https://www.npmjs.com/package/electron-extension-installer)
# Introduction
This library is a modernized version of `electron-devtools-installer`. It is tested and works on up to electron v24. Min electron version is v11.
# Getting Started
```
yarn add electron-extension-installer
```
or
```
npm i --save electron-extension-installer
```
# Usage
```typescript
import { installExtension, REACT_DEVELOPER_TOOLS } from "electron-extension-installer";
app.on("ready", async () => {
await installExtension(REACT_DEVELOPER_TOOLS, {
loadExtensionOptions: {
allowFileAccess: true,
},
});
});
```