How to write a package registry client? What's the protocol?

I’m planning to write a custom client for the package registry. I’ve thought about it when GitHub launched their GPR beta. However i think that I’ll use the official npm registry. However, how to write such client? What is the protocol to:

  • query for a package,
  • get the package archive/tarball link,
  • get the package dependencies?

I have not used the API, but remembered this previous topic: Where are the docs for the registry front-end API?

And this one too: How do I use npm api programatically?

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.