electron app using electron packager code example
Example 1: electron-packager
# For use in npm scripts (recommended)
npm install electron-packager --save-dev
# For use from the CLI
npm install electron-packager -g
Example 2: js electron setup
npm install electron --save-devCopy