The npm community forum has been discontinued.
To discuss usage of npm, visit the GitHub Support Community.
Authorization bearer token not documented
Using the registry rest API to get information about private packages requires jumping through hoops. No library that I found currently supports this, and the Authorization header for doing authenticated API calls with bearer token is not documented at all as far as I can tell.
Related question on stack overflow:
Hi there, thanks for sharing this info. We’re planning to start a large project to collect and document all our APIs in one place, and we’ll make sure info on private packages is included, but, for now, I’m glad that you’ve found a workaround.
Thanks so much.