Works with
•JSR Score76%•It is unknown whether this package works with Browsers, Deno, Node.js, Cloudflare Workers, Bun




Published2 years ago (0.215.0)
- @std/ulid
default
Functions
f
decodeTime(id: string): number
Extracts the timestamp given a ULID.
f
ulid(seedTime?: number): string
Generate a ULID, optionally based on a given timestamp.
Type Aliases
T
ULID = (seedTime?: number) => string
Type for a ULID generator function.
Variables
v
monotonicUlid: ULID
Generate a monotonically increasing ULID, optionally based on a given timestamp.