isaacs/npm — pull request #2514 by jhs (2012-06-11 09:49:25+00:00)
Title: Support publishing private packages, if desired

This is pretty simple.

npm config set publish-privates true

Or, edit an individual package.json

"publishConfig": {"publish-privates": true}

Voila. Now npm will `log.info()` a message but otherwise let it happen. I think the official registry should ban all private packages though.