short-mongo-id

JSON →
library 0.1.1 ·javascript maintenance
verified Jun 5, 2026

Generates short, URL-safe IDs from MongoDB ObjectIds using timestamp and counter components. Version 0.1.1 is a legacy package with no recent updates. Unlike base64 encoding, it produces compact alphanumeric strings but is one-way and should not be used for security or high-uniqueness requirements. Lightweight with zero dependencies.