How to quickly switch between npm proxies/ registeries?
Ans. The proxy is stored innpmrc which is located in the active user folder. It currently looks like this to me:
registry = https://kdi.jfrog.io/kdi/api/npm/npm/ _auth = c2lkZGhhcnRoLnNoYXJtYUBrb25nc2JlcmdkaWdpdGFsLmNvbTpBS0NwOGtxWDJmbm5jVXFSd0JReXpIdGpZYlhUOEN2c0p5MnVyQldwUEV3UkpqY2tlSGMzam1UV01GTUw4emY1YVoyYlJjZ2hN
always-auth = true email = siddharth.sharma@kongsbergdigital.com
What is the default registry URL? If I make it empty will it automatically from main npm registry?
Yes, just cleared .npmrc and did npm install again and it downloaded from https://registry.npmjs.org/
Q. How to find matching dependencies for packages inpackage_json? Ans.
npm i —dry-run