nodejs electron without browser instead have gui code example Example: call node.js file electron myButton.onclick = function() { require('./getuser'); };