This module is identical to node-config except that it works in the Electron environment.
Whenever your app gets packaged into an Electron executable, this module will still work as expected.
Even if you archive your app into app.asar, this module will still work as expected.
$ npm install config-electron$ mkdir config$ vi config/default.json
Assuming the following default.json:
Pull the config into your code:
let config = ;let dbConfig = config;console;console;
May be freely distributed under the MIT license.