For research purpose, I am interested in getting a full list of npm package names. Some existing answer points to https://replicate.npmjs.com/registry/_all_docs, but the url is replicate.npmjs.com
, and it seems to be a different registry than http://registry.npmjs.com/
. For example, as of now, http://registry.npmjs.com/ 's doc_count
is 1844996, but https://replicate.npmjs.com/ has 1419077.
What is the difference between registry.npmjs.com
and replicate.npmjs.com
? Are they the same or different registries? What are they used for? Which one is the "default" one used by the npm CLI?
https://replicate.npmjs.com/registry/
supports scoped packages with%2f
in the url:Whereas as the
https://registry.npmjs.org/
works for bothAlso here's a incomplete doc about the
registry
endpoint: https://github.com/npm/registry/blob/master/docs/REPLICATE-API.md