Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 1012 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 1012 Bytes

proxy-multi-registries

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

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]

TODO

  • Packuments merge strategy is far from perfect.