Skip to content

Instantly share code, notes, and snippets.

@kevinbull
kevinbull / README.md
Last active April 12, 2022 12:12 — forked from jed/LICENSE.txt
Using JavaScript generate a 32 character hexadecimal universal id string.

generateUnid

Each call returns a random 32 character hexidecimal string. Based on the work done https://gist.github.com/jed/982883

Usage:

<script src="https://gist.github.com/kevinbull/f1cbc5440aa713bd5c9e.js"></script>

var unid = generateUnid();