MCPcopy Index your code
hub / github.com/node-modules/utility / pseudoRandomString

Function pseudoRandomString

benchmark/random_string.cjs:9–11  ·  view source on GitHub ↗
(length)

Source from the content-addressed store, hash-verified

7}
8
9function pseudoRandomString(length) {
10 return crypto.pseudoRandomBytes(length).toString('base64');
11}
12
13const Benchmark = require('benchmark');
14const suite = new Benchmark.Suite();

Callers 1

random_string.cjsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…