jjwchoy/mongoose-shortid — pull request #10 by lucasrudi (2014-11-04 19:12:42+00:00)
Title: Dynamic Generation 

Allowing to inject methods to generate the ids using custom logic (see test/counters.js)
Adding test to validate that the default use has not being changed.
And finally fixing a few bugs regarding the use of ShortId for attributes that are not required.