Cookbook

How do I keep my node process running?
There is many ways to ensure that if your script goes down again it restarts. While Forever is the house favorite, monit is also a great way to persist your process. FYI, Node apps "Crash" (as do all apps) but since node is a full stack server, unlike say PHP where one crash messes up a single request but the LAMP stack stays up (to crash again... :D), when node crashes, your server goes off line so its good to take care to persist your service when using Node in production.

How do I create a node module?
While any .js file can be used as a module in your own private project creating a node module that can be used in npm, as documented by Isaacs on howtonode.org, is a longer process.