UNPKG

hex-object-id

Version:

A fast and small module that generates a random ObjectId as a hex string.

3 lines (2 loc) 120 B
/** @returns a 24 character hex string representing a random ObjectId */ export default function hexObjectId (): string