Skip to main content
Module

x/uuid7/mod.ts

Generate UUIDv7 identifiers in JavaScript (or TypeScript)
Latest
import * as uuid7 from "https://deno.land/x/uuid7@v0.0.1/mod.ts";

Classes

The exception thrown by timestamp if UUID parsing fails.

Variables

Generate a UUIDv7.

A regular expression that recognizes UUID's generated by this package.

Return the timestamp portion of the UUID (a millisecond-precision UNIX timestamp, as returned by Date.now).

Generate a UUIDv7.

Type Aliases

A function that returns a millisecond-precision UNIX timestamp, like Date.now.

A Date object or millisecond-precision UNIX timestamp.