title: how to define fallback registry in global .npmrc file
body: <p>I have a private registry configured in my global .npmrc file. Now I want to configure a fallback registry also in the same npmrc file. When npm is not able to find module in my private repository, I want it to download it from npm global registry i.e. <a href="https://registry.npmjs.org" rel="noreferrer">https://registry.npmjs.org</a> </p>
  
  <p>Below are the two repositories I want to configure:</p>
  
  <pre><code>http://devint:9999/nexus/content/groups/NPM-Release   //npm should first look into this
  
  https://registry.npmjs.org // fallback registry
  </code></pre>
  
  <p>I know there is a solution available on StackOverflow for this similar problem, but those solution is suggesting to used scoped package approach. I don't want to use the scoped package approach for configuring multiple repositories in a npmrc file.</p>
  
  <p>I have already gone through the solution available on 
  <a href="https://stackoverflow.com/questions/32633678/is-there-any-way-to-configure-multiple-registries-in-a-single-npmrc-file">Is there any way to configure multiple registries in a single npmrc file</a>
  But I am looking for a different approach, where I can define multiple repositories with its priority in npmrc file.</p>
  
  <p>I request not to mark this question as closed without giving a satisfactory correct answer. </p>
  
  <p>Thanks.</p>