Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/uuid/v4.ts>generate

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function generate
import { generate } from "https://deno.land/std@0.90.0/uuid/v4.ts";

Generates a RFC4122 v4 UUID (pseudo-randomly-based)

Returns

string