Skip to main content
RandomUUIDOptions.disableEntropyCache - node__crypto.d.ts - Node documentation
property RandomUUIDOptions.disableEntropyCache

Usage in Deno

```typescript import { type RandomUUIDOptions } from "node:node__crypto.d.ts"; ```
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`.

Type

boolean | undefined