Good point on the project specific .npmrc.
Another tip is that a separate repository (and credentials) can be configured per scope as well (credit Guillaume Martigny for mentioning scoped modules first below).
This can be useful if you have some private modules in a private repository but do not wish to proxy all requests for public modules through it as well.
I also agree npm link is very useful if working on multiple modules and testing fixes.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.