{"library":"di-short-mongo-id","type":"library","category":null,"description":"Generates short, URL-friendly IDs from MongoDB ObjectIds by extracting timestamp and counter bits (77 bits total). The generated IDs are one-way (cannot be reversed to original ObjectId) but are reasonably unique. Version 1.0.1 is the only version; package is small and has no dependencies. Unlike other short ID libraries (e.g., nanoid, uuid), this is specifically designed for MongoDB ObjectIds and does not generate random IDs.","language":"javascript","status":"active","version":"1.0.1","tags":["javascript","mongo","mongodb","short-id","shortener"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install di-short-mongo-id","imports":["import shortId from 'di-short-mongo-id'","const shortId = require('di-short-mongo-id')","shortId('597b3afabca3cc7f2c331290', true)"]},{"cmd":"yarn add di-short-mongo-id","imports":[]},{"cmd":"pnpm add di-short-mongo-id","imports":[]}],"homepage":"https://github.com/devindex/short-mongo-id#readme","github":"https://github.com/devindex/short-mongo-id","docs":null,"changelog":null,"pypi":null,"npm":"di-short-mongo-id","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}