MongoDB Short ID

JSON →
library 0.3.3 ·javascript deprecated
verified Jun 5, 2026

Convert MongoDB ObjectIDs to shorter URL-friendly strings and reverse them back. Version 0.3.3 is the latest stable release, last updated in 2014. It uses base64 encoding to produce compact IDs. Differentiators: simple API, supports both string and ObjectID conversions. However, it is an unmaintained package with no updates since its release, and it depends on the deprecated MongoDB native driver's ObjectID. Consider using uuid-based approaches or modern MongoDB drivers for active support.