
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
settings-manager
Advanced tools
A facade for user settings repositories.
This is intended as a generic interface to an asynchronous setting API. Using this library allows for abstraction of the underlying settings. This package was intended for plugin development in order to make plugins portable across platforms.
npm install
A build will check the source code and place code in the build\dist folder.
npm run build
To run a build on source code changes:
npm run build:watch
To build distributable artifacts (which includes a minimized version as well as burning in build-time data):
npm run dist
To run tests against the source code and dist folder (including coverage):
npm test
To run tests against the source code and dist folder (including coverage), with reload:
npm run test:watch
This is a basic script which can be used to build and deploy (to NPM) the project.
npm run release
Releases to the NPM registry are handled by Travis CI. Pushing master to GitHub will trigger a build and deploy to the NPM registry. The release script will NOT push to the repository. When pushing, tags should be included:
git push --all && git push --tags
new SettingsManager([backing_store])
Creates a new SettingsManager instance. The optional backing store should implement the same API as SettingsManager, or have an adapter provided. With no backing store specified, an in-memory store will be used.
load([success][, error])
Loads the settings. Takes a success callback and an error callback. The value passed into the settings callback represents the value from the backing store.
save(settings[, success][, error])
Saves the settings. Requires the settings to save and takes an optional callback for the success or error status.
clear([success][, error]])
Clears the settings. Takes an optional callback for the success or error status.
FAQs
A package for abstracting settings repositories
We found that settings-manager 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.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.