title: NPM how to install package as it was another
body: <p>want to install package <code>com.cordova.plugin.cache</code> and its content i need it to be also as <code>cordova-plugin-cache</code>.. </p>
  
  <p>Example <code>package.json</code> was like this:</p>
  
  <pre><code>"dependencies": {
      // Note these two are the same but with different name 
      "cordova-plugin-cache": "git+git@gitlab.com:dev/library/org.git",
      "com.cordova.plugin.cache": "git+git@gitlab.com:dev/library/org.git"
  }
  </code></pre>
  
  <p>But i published a modified version both of it on a private npm repository to remove the dependency as a repository.</p>
  
  <pre><code>"dependencies": {
      // Note these two are the same but with different package name 
      "cordova-plugin-cache": "git+git@gitlab.com:dev/library/org.git",
      "com.cordova.plugin.cache": "git+git@gitlab.com:dev/library/org.git"
  }
  </code></pre>
  
  <p>Is this even possible? do i have to save both packages as they were two different?</p>
  
  <p>Actually i have one package in a private npm registry, but don't want to duplicate the project.</p>
  
  <p>Any hint is appretiated.</p>