Skip to content

A quick dirty rework of proxy-registry to fetch packages from multiple registries.

License

Notifications You must be signed in to change notification settings

xymopen/proxy-multi-registries

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A quick dirty rework of proxy-registry to fetch packages from multiple registries.

Resources

License

Stars

Watchers

Forks

Releases

No releases published