An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          

# Electron Extension Installer

[![npm Version](https://img.shields.io/npm/v/electron-extension-installer.svg)](https://www.npmjs.com/package/electron-extension-installer) [![License](https://img.shields.io/npm/l/electron-extension-installer.svg)](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,
},
});
});
```