

A - argument will tell the cli parser to stop reading flags.

When you put -foo bar on the command line, the foo configuration will be set to ?bar?. The configuration values for npm is gotten from the following sources, these sources are sorted by priority: This article is going to cover more than what you thought the npm configuration consists of. package-locks An explanation of npm lockfiles.package-lock.json A manifestation of the manifest.rebuild, repo, restart, root and run-script commands.pack, ping, prefix and profile commands.install, install-ci-test and install-test commands.dedupe, deprecate and dist-tag commands.scripts How npm handles the "scripts" field.registry The JavaScript Package Registry.config More than you probably want to know about npm configuration.Downloading packages to CI/deployment servers.About audit reports and how to require two-factor authentication for package publishing and settings modification.How to run a security audit with npm audit.Understanding packages and modules and preventing permissions errors.How to use semantic versioning,work with scoped packages and label packages with dist-tags.How to create Node.js modules and how to publish & update a package.How to install global packages, update global packages and uninstall global packages.How to set up a new npm account & install npm.
