base-36 autoincrement support for mongoose node.js orm
npm install mongoose-autoincr-base36mongoose-autoincr-base36 - autoincrement base36 support for Mongoose
======================================================
This is a plugin for Mongoose to have an extra url_id number attribute that autoincrements.
The url_id is to be used for URL shortening, and is a base 36 number (alphanumeric).
This plugin will also create an extra table counters or named by you
to keep track of the counters across all tables.
loadAutoIncr({counterName: name}): counterName is optional, default
counters, this is the table name that is created to store counters for different tables.
plugin({modelName: name}): modelName is required, this is used to