UUIDGeneratorNode
Generates a UUID in Node.JS.
- Use
crypto.randomBytes()
to generate a UUID, compliant with RFC4122 version 4. - Use
Number.prototype.toString(16)
to convert it to a proper UUID.
Generates a UUID in Node.JS.
crypto.randomBytes()
to generate a UUID, compliant with RFC4122 version 4.Number.prototype.toString(16)
to convert it to a proper UUID.