Skip to main content
Module

x/drash/src/services/csrf/deps.ts>v4.generate

A microframework for Deno's HTTP server with zero third-party dependencies
Go to Latest
function v4.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 { v4 } from "https://deno.land/x/drash@v2.7.0/src/services/csrf/deps.ts";
const { generate } = v4;

Returns

string