A from-scratch rework of proxy-registry to fetch packages from multiple registries.
$ npx github:xymopen/proxy-multi-registries -r 'https://registry.npmjs.com/'
Using registries: https://registry.npmjs.com/
Listening on: http://localhost:22000
To use: npm config set registry http://localhost:22000
^C to close server
Options:
-h, --help show help [boolean]
--version show version number [boolean]
-a, --address the address to bind to [string] [default: "localhost"]
-p, --port the port to listen on [number] [default: 22000]
-r, --registries the backend registries [array]
-d, --default the registry used other than fetching packages [string]
- Packuments merge strategy is far from perfect.