Module

std/uuid/v4.ts>generate

Deno standard library
Go to Latest
function generate
Deprecated
Deprecated

v4 UUID generation is deprecated and will be removed in a future std/uuid release. Use the web standard globalThis.crypto.randomUUID() function instead.

Generate a RFC4122 v4 UUID (pseudo-random).

import { generate } from "https://dotland.deno.dev/std@0.116.0/uuid/v4.ts";

Returns

string