Find the current version of installed packages using NPM

Things change quickly in the world of node development, you’re usually working with a lot of different modules within your projects. Fortunately there’s a great package manager that most node developers used called NPM. It makes installing and updating dependencies in your environment fairly simple. At anytime you can see a list of installed packages [...]

MongooseJS Validation

The docs on MongooseJS can be really unclear at times, here are some pointers on validation that may help (note this is valid as of MongooseJS 1.3.3)
Making a field unique:

var User = new Schema({
email: { index: {unique: true} }
});

Note: If your collection exists in Mongo, you need to drop the collection before schema changes kick [...]