Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Go to Latest
method ObjectId.generate
import { ObjectId } from "https://deno.land/x/darkflare@v7.2.2/realm/mod.ts";

Generate a 12 byte id buffer used in ObjectId's

Parameters

optional
time: number
  • pass in a second based timestamp.

Returns

Uint8Array