Points of Presence

The npmjs.cf mirror is available on Cloudflare's edge locations in North America, South America, Europe, Africa, Asia, and Australia.


Switching to the npmjs.cf mirror is effortless, quick, and easy.

For a single command, pass the mirror to the --registry argument.

npm install --registry https://registry.npmjs.cf/ express

To use the mirror for all npm commands, set the registry configuration variable.

npm config set registry https://registry.npmjs.cf/