Using JavaScript to Create and Generate UUIDsby@smpnjn
10,363 reads

Using JavaScript to Create and Generate UUIDs

tldt arrow
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Universally Unique Identifiers (UUIDs) are unique, 128-bit identifiers consisting of 36 characters in the format of '8/4-4/12' The chances of a UUID being a duplicate is not zero, but it is so close that most ignore the risk. In Javascript, there are many ways to create UUIDs with Javascript. The crypto.randomUUID() method is available on the global `this` object on browsers - also known as 'window' It is also available on Node.JS and the UUID package on NPM.
featured image - Using JavaScript to Create and Generate UUIDs
Johnny Simpson HackerNoon profile picture

@smpnjn

Johnny Simpson

Product, Engineering, Web


Receive Stories from @smpnjn

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!