npm gets its configuration settings from the command line, environment variables, and npmrc files. You can try to specify the registry in the npmrc file and the module on the command line. To change the registry, you can use the command:
npm config set registry <registry url>
You can also change the configuration with the -- argument. Entering --foo bar on the command line sets the configuration parameter foo " bar ". So you can try something like this:
npm install http://git.repo.url --registry https://your.registry.local/
source share