Readme

uuid

The uuid module provides builders for different types of universally unique identifiers. These are kinds of identifiers that you can use instead of auto-incrementing integers. They're intended to contain so much randomness that the chances of a collision between two uuids is very low.

There are different versions of uuids available: typically people use v4 UUIDs, which are fully random.

1
2
3
4
export const uuidExample = (async () => {
const uuid = await import("npm:uuid");
return uuid.v4();
})();
Val Town is a social website to write and deploy JavaScript.
Build APIs and schedule functions from your browser.
Comments
Nobody has commented on this val yet: be the first!
October 23, 2023