1.1.0 • Published 6 years ago

electron-renderer-node v1.1.0

Weekly downloads
-
License
ISC
Repository
-
Last release
6 years ago

Electron renderer node CLI.

Execute script and run REPL in electron renderer (the Chrome + Node.js environment).

Installation

npm i electron-renderer-node -g

Usage

# Execute a script with in renderer
ern ./sample.js

# Or starts a REPL (Chrome devtool)
ern

WHY I WROTE(USE) IT

  1. Logs in command line are hard to read.
  2. There are too many steps with node --inspect-brk.
  3. I want to use Ctrl+R to re-run my code.
  4. I need the DOM API sometimes.