You can just use crypto.getRandomValues
like so...
crypto.getRandomValues(new BigInt64Array(1))[0] // A random BigInt
If you want to generate multiple random BigInts, you can just increase the array size
And if you want it to be unsigned, use BigUint64Array