DEV Community

Discussion on: Generate a Universally Unique Identifier (uuid) with Node.js

Collapse
 
jaylandro profile image
Jay Landro

How does this compare to crypto.randomBytes(16)? Is the uuid package using the same internals? Or is the benefit the validate and version helpers that come with uuid?

Collapse
 
jdedwards3 profile image
James Edwards

The uuidv4 package will generate in the RFC4122 format