mongoose-hook-custom-id

Mongoose plugin to use String _id and by default will generate 16-char base64 string representation of ObjectId.

es-sequence

Node.js module for Elasticsearch that provides sequences of auto-incrementing integers that can be used to set the id of new documents.