Security News
PyPI’s New Archival Feature Closes a Major Security Gap
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Reconf is used in order to find a configuration file in a similar manner to how npm finds a package.json. It will recurse up the directory tree until it finds a matching file. Also, it will try the user's home directory should that not succeed.
Since command line arguments and other inputs may be important to override configuration and defaults should be provided for many values, reconf will take care of these for you. You may supply arguments to nconf to set up overriding values and defaults. If you do not supply arguments defaults will be empty and overrides will correspond to optimist's argv.
var overrides = require('optimist').argv;
var defaults = {'angry':false};
var config = require('reconf')('.myconf',overrides,defaults)
config.load()
//
// Show the current value of the 'angry' setting
//
console.log(config.get('angry'))
FAQs
Recursive configuration file management with defaults and overrides for nconf.
We found that reconf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers 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
PyPI now allows maintainers to archive projects, improving security and helping users make informed decisions about their dependencies.
Research
Security News
Malicious npm package postcss-optimizer delivers BeaverTail malware, targeting developer systems; similarities to past campaigns suggest a North Korean connection.
Security News
CISA's KEV data is now on GitHub, offering easier access, API integration, commit history tracking, and automated updates for security teams and researchers.