The Date is Off!

Here’s a tip for those of you using express as your node.js web framework. If you need a date library for pretty-printing in various date formats, do NOT use the Datejs library. It adds something toxic to the stock Date object that confunds¬†express’s session cookie expiration date. You’ll never be able to keep anything in […]

Installing node.js Packages From github

I had a situation the other day, where the cradle couchdb client from the npm repository was throwing an error like the one below: require.paths is removed in latest node After tracking down the issue, I needed a way to install the latest cradle code from github. This is how you do it, installing into […]