electron-profile
v1.1.2
Published
Store and manipulate your profile for your Electron app.
Downloads
29
Readme
electron-profile
Store and manipulate your profile for your Electron app.
Why?
- Profile migration/update
- Sync profile changes in runtime for all renderer processes.
Install
npm install --save electron-profile
Run Examples:
npm start examples/${name}
Usage
const profile = require('electron-profile');
let settings = profile.load('profile://local/settings.json');
settings.set('user.name', 'Johnny Wu');
console.log(settings.get('user.name')); // Johnny Wu
settings.save();
API Reference
License
MIT © 2017 Johnny Wu