lbg-mongoose-utils

a collection of plugins used in my projects for mongoose

A small collection of mongoose extensions to be used in my projects. Current modules: slugify - creates unique slugs for assigned items. ancestorTree - helps maintaining hierarchical items. use array of ancestors pattern can be seen here: http://docs.mongodb.org/manual/tutorial/model-tree-structures-with-ancestors-array/