I've created a couple of modules for node.js, but I don't yet know how to add them to npm. Is there any way that I can create my own npm modules (so that one of them could can be installed using the command npm install my-custom-module, if I had created a module called my-custom-module?)
Here are some guidelines of how to write a Node.js Module:
http://howtonode.org/how-to-module
And the Official NPM Developers Guide:
https://npmjs.org/doc/developers.html
Hope it helps.