On my Ubuntu 20.04 machine, I'm trying to get a full list of all the default NPM configuration settings. These are the config settings that NPM sets before the user changes them.
How do I get that full list?
This command should work for you:
npm config list -l
You can change the output to JSON format by adding a
npm config list -l --json