I want to create modules in a private (password protected) git repository, but also be able to have different projects depend on that module (the dependencies in package.json). How can I use private modules when doing npm install? Will npm install ask you for the password for a particular repository? In the past, whenever I've seen a password prompt in npm, it presents the prompt for a password (potentially multiple times) but the output just plows over the prompt. This experience makes me worried that npm doesn't handle this case very gracefully.
So whats the right way to do this?