
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
electron-settings
Advanced tools
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.
npm install electron-settings
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
⚠ For Electron v10+, if you want to use electron-settings within a browser window, be sure to set the enableRemoteModule
web preference to true
. Otherwise you might get the error Cannot read property 'app' of undefined
. See #133 for more info.
new BrowserWindow({
webPreferences: {
enableRemoteModule: true // <-- Add me
}
});
API docs and can be found at electron-settings.js.org.
Having trouble? Get help on Gitter.
FAQs
A simple and robust settings management library for Electron.
The npm package electron-settings receives a total of 5,810 weekly downloads. As such, electron-settings popularity was classified as popular.
We found that electron-settings demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.