I would like to implement my own NPM compatible package registry, like 'github packages'.
Where can i find documentation of how this is done?
For example;
npm login --registry https://myregistry.com
and
npm install
will both send post/get request to the registry. Where can i find documentation on how to implement those endpoints? Is this public information?
The documentation for the response from the npm registry is located at github:
https://github.com/npm/registry/blob/master/docs/responses/package-metadata.md#dist