libnpmconfig is a Node.js library for
programmatically managing npm's configuration files and data.
const config =console// => configured registry:
$ npm install libnpmconfig
Table of Contents
Reads configurations from the filesystem and the env and returns a
figgy-pudding object with the configuration
cliOpts is provided, it will be merged with the returned config pudding,
shadowing any read values. These are intended as CLI-provided options. Do your
process.argv parsing, though.
builtinOpts.cwd is provided, it will be used instead of
the starting point for config searching.