Socket
Book a DemoInstallSign in
Socket

@webcatalog-oss/electron-settings

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@webcatalog-oss/electron-settings

A simple and robust settings management library for Electron.

unpublished
latest
Source
npmnpm
Version
5.0.5
Version published
Maintainers
1
Created
Source

@webcatalog-oss/electron-settings

A fork of electron-settings from WebCatalog with active maintenance & enhancements.

A simple and robust settings management library for Electron.

Born from Atom's original internal configuration manager and the settings manager of choice for Electron's own API Demos app, Electron Settings allows you to persist user settings and other data between app loads simply and easily.

Install

npm install @webcatalog-oss/electron-settings

Demo

import settings from 'electron-settings';

await settings.set('color', {
  name: 'cerulean',
  code: {
    rgb: [0, 179, 230],
    hex: '#003BE6'
  }
});

await settings.get('color.name');
// => "cerulean"

await settings.get('color.code.rgb[1]');
// => 179

API Docs

API docs and can be found at https://webcatalog.github.io/electron-settings/.

Keywords

electron

FAQs

Package last updated on 18 Apr 2023

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