Module

std/uuid/mod.ts>v1

Deno standard library
Go to Latest
namespace v1
import { v1 } from "https://dotland.deno.dev/std@0.181.0/uuid/mod.ts";

Functions

Generates a RFC4122 v1 UUID (time-based).

Validates the UUID v1.

Interfaces

The options used for generating a v1 UUID.

import v1
import { v1 } from "https://dotland.deno.dev/std@0.181.0/uuid/mod.ts";

Generators and validators for UUIDs for versions v1, v4 and v5.

Consider using the web platform crypto.randomUUID for v4 UUIDs instead.

Based on https://github.com/kelektiv/node-uuid -> https://www.ietf.org/rfc/rfc4122.txt

Support for RFC4122 version 1, 4, and 5 UUIDs

This module is browser compatible.