Module

x/web_bson/mod.js>UUID#toString

web_bson is a fork from mongodb/js-bson
Very Popular
Latest
method UUID.prototype.toString
import { UUID } from "https://dotland.deno.dev/x/web_bson@v0.3.0/mod.js";

Converts the id into a 36 character (dashes included) hex string, unless a encoding is specified.

Parameters

optional
encoding: "hex" | "base64"

Returns

string