MCPcopy Index your code
hub / github.com/nodejs/node / randomUUIDv7

Function randomUUIDv7

lib/internal/crypto/random.js:450–460  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

448}
449
450function randomUUIDv7(options) {
451 if (options !== undefined)
452 validateObject(options, 'options');
453 const {
454 disableEntropyCache = false,
455 } = options || kEmptyObject;
456
457 validateBoolean(disableEntropyCache, 'options.disableEntropyCache');
458
459 return disableEntropyCache ? getUnbufferedUUIDv7() : getBufferedUUIDv7();
460}
461
462function createRandomPrimeJob(type, size, options) {
463 validateObject(options, 'options');

Callers 1

Calls 2

getUnbufferedUUIDv7Function · 0.85
getBufferedUUIDv7Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…