electron with node js code example
Example 1: call node.js file electron
myButton.onclick = function() {
require('./getuser');
};
Example 2: electron js
$ npm i -D electron@latest
# Electron 10.1.3
# Node 12.16.3
# Chromium 85.0.4183.121
Example 3: electron js
$ npm i -D electron@latest
# Electron 11.2.3
# Node 12.18.3
# Chromium 87.0.4280.141
Example 4: electron js
$ npm i -D electron@beta
# Electron 11.0.0-beta.9
# Node 12.18.3
# Chromium 87.0.4251.1
Example 5: js electron setup
npm install electron --save-devCopy