Socket
Socket
Sign inDemoInstall

electron-runner

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-runner

Enables for running NodeJS apps in Electron.


Version published
Maintainers
1
Created
Source

#electron-runner

Simple wrapper around electron package. Built on electron-quick-start boilerplate, but it hides boilerplate code. It's meant to enable run JavaScript code in Electron without writing any electron specific code. You can run for example NodeJS application for purpose of debugging (using chrome dev tools, for example).

Note: this package is running code in renderer Electron process so if you need to access main process you should rather use other Electron boilerplate.

It allows you to specify simple configuration file, for example:

module.exports = {
     // arbitrary html file which will be your entry point.
     // You should include/require your JavaScript files from this file by using `script` tags or `require` function.
    url: 'index.html',

    menu: [/*data for menu items in format understood by Electron */], // optional

    openDevTools: true // optional

};

FAQs

Package last updated on 23 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc