Skip to content

About

Install extensions into devtools

Resources

Stars

43 stars

Watchers

1 watching

Forks

Repository files navigation

Electron Extension Installer

npm Version License

Introduction

This library is a modernized version of electron-devtools-installer for Electron 36 and newer.

Getting Started

pnpm add electron-extension-installer

or

npm i --save electron-extension-installer

Usage

import { installExtension, REACT_DEVELOPER_TOOLS } from "electron-extension-installer";

app.on("ready", async () => {
  await installExtension(REACT_DEVELOPER_TOOLS, {
    loadExtensionOptions: {
      allowFileAccess: true,
    },
  });
});

Built-in extension references include a minimum working version. Cached extensions older than that version are downloaded again automatically; pass forceDownload: true to refresh an extension regardless of its cached version. Compatibility override files are pinned to an immutable repository revision and verified with SHA-256 before loading.

About

Install extensions into devtools

Resources

Stars

43 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages