electron-devtools-installer

  • Version 4.0.0
  • Published
  • 22.5 kB
  • 1 dependency
  • MIT license

Install

npm i electron-devtools-installer
yarn add electron-devtools-installer
pnpm add electron-devtools-installer

Overview

An easy way to install Dev Tools extensions into Electron applications

Index

Variables

variable BACKBONE_DEBUGGER

const BACKBONE_DEBUGGER: ExtensionReference;

    variable EMBER_INSPECTOR

    const EMBER_INSPECTOR: ExtensionReference;

      variable JQUERY_DEBUGGER

      const JQUERY_DEBUGGER: ExtensionReference;

        variable MOBX_DEVTOOLS

        const MOBX_DEVTOOLS: ExtensionReference;

          variable REACT_DEVELOPER_TOOLS

          const REACT_DEVELOPER_TOOLS: ExtensionReference;

            variable REDUX_DEVTOOLS

            const REDUX_DEVTOOLS: ExtensionReference;

              variable VUEJS_DEVTOOLS

              const VUEJS_DEVTOOLS: ExtensionReference;

                variable VUEJS_DEVTOOLS_BETA

                const VUEJS_DEVTOOLS_BETA: ExtensionReference;

                  Functions

                  function installExtension

                  installExtension: {
                  (
                  extensionReference: Array<ExtensionReference | string>,
                  options?: InstallExtensionOptions
                  ): Promise<Extension[]>;
                  (
                  extensionReference: string | ExtensionReference,
                  options?: InstallExtensionOptions
                  ): Promise<Extension>;
                  };
                  • Parameter extensionReference

                    Extension or extensions to install

                    Parameter options

                    Installation options

                    Returns

                    A promise resolving with the name or names of the extensions installed

                  Interfaces

                  interface ExtensionReference

                  interface ExtensionReference {}

                    property id

                    id: string;
                    • Extension ID

                    interface InstallExtensionOptions

                    interface InstallExtensionOptions {}

                      property forceDownload

                      forceDownload?: boolean;
                      • Ignore whether the extension is already downloaded and redownload every time

                      property loadExtensionOptions

                      loadExtensionOptions?: LoadExtensionOptions;
                      • Options passed to session.loadExtension

                      property session

                      session?: Session;
                      • Optionally specify the session to install devtools into, by default devtools will be installed into the "defaultSession". See the Electron Session docs for more info.

                        https://electronjs.org/docs/api/session

                      Package Files (1)

                      Dependencies (1)

                      Dev Dependencies (16)

                      Peer Dependencies (0)

                      No peer dependencies.

                      Badge

                      To add a badge like this onejsDocs.io badgeto your package's README, use the codes available below.

                      You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/electron-devtools-installer.

                      • Markdown
                        [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](https://www.jsdocs.io/package/electron-devtools-installer)
                      • HTML
                        <a href="https://www.jsdocs.io/package/electron-devtools-installer"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>