Skip to main content
RandomUUIDOptions - crypto - Node documentation
interface RandomUUIDOptions

Usage in Deno

import { type RandomUUIDOptions } from "node:crypto";

Properties

optional
disableEntropyCache: boolean | undefined

By default, to improve performance, Node.js will pre-emptively generate and persistently cache enough random data to generate up to 128 random UUIDs. To generate a UUID without using the cache, set disableEntropyCache to true.