Skip to content

generateID

Jason Godesky edited this page Jul 16, 2026 · 1 revision

generateID generates a random 16-digit alphanumeric string — the sort that Foundry VTT uses for IDs.

Returns

A random 16-digit alphanumeric string.

Examples

import { generateID } from '@revolutionarygamesco/common-foundryvtt'

const id = generateID() // A random 16-digit alphanumeric string.

Clone this wiki locally