Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

electron-settings

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-settings

A simple persistent user settings manager for Electron.

  • 3.0.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
4.6K
decreased by-12.94%
Maintainers
1
Weekly downloads
 
Created
Source

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.

npm version dependencies Build Status Join the chat at https://gitter.im/nathanbuchar/electron-settings


Install

$ npm install --save electron-settings

Demo

const settings = require('electron-settings');

settings.set('name', {
  first: 'Cosmo',
  last: 'Kramer'
});

settings.get('name.first');
// => "Cosmo"

settings.has('name.middle');
// => false

FAQs

A list of frequently asked questions can be found here.

API

The API docs can be found here. Or, if you're know what you're looking for…

Authors

License

ISC


Having trouble? Get help on Gitter.

Keywords

FAQs

Package last updated on 29 Mar 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc