UNPKG
@goa/uuid
Version:
latest (1.0.2)
1.0.2
1.0.1
1.0.0
[fork] Simple, fast generation of RFC4122 UUIDS.
github.com/idiocc/uuid
idiocc/uuid
@goa/uuid
/
src
/
rng.js
5 lines
(4 loc)
•
100 B
JavaScript
View Raw
1
2
3
4
5
import
{ randomBytes }
from
'crypto'
export
default
function
nodeRNG
(
) {
return
randomBytes
(
16
) }