npm config list --json

Category: Node.js & npm/yarn

npm config list --json

Print npm configuration as a JSON object for scripting

Same as 'npm config list' but formats the output as a JSON object — easier to parse in scripts or pipe into other tools.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.