1.1.0 • Published 7 years ago
electron-renderer-node v1.1.0
Electron renderer node CLI.
Execute script and run REPL in electron renderer (the Chrome + Node.js environment).
Installation
npm i electron-renderer-node -gUsage
# Execute a script with in renderer
ern ./sample.js
# Or starts a REPL (Chrome devtool)
ernWHY I WROTE(USE) IT
- Logs in command line are hard to read.
- There are too many steps with
node --inspect-brk. - I want to use
Ctrl+Rto re-run my code. - I need the DOM API sometimes.