npm Community Forum (Archive)

The npm community forum has been discontinued.

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

How to check what headers are sent during an npm install?

This might be a duplicate but I couldn’t find any docs to do this. How do I check which headers of an npm install GET request?
For reference, I want to send an auth token in the headers and check if the developer is allowed access to a particular registry.