npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

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:

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?