electron-settings
A simple persistent user settings manager for Electron.
Originally adapted from Atom's own configuration manager, electron-settings allows you to save your users' settings to the disk so that they can be loaded in the next time your app starts without skipping a beat.
Also, you can subscribe to settings and get notified when their value changes. So that's pretty neat.
Install
$ npm install --save electron-settings
Demo
const settings = require('electron-settings');
settings.set('name', {
first: 'Cosmo',
last: 'Kramer'
});
settings.get('name.first');
settings.has('name.middle');
FAQs
A list of frequently asked questions can be found here.
API
The API docs can be found here.
License
ISC
Having trouble? Get help on Gitter.