Ulid generator
Returns a ULID (Universally Unique Lexicographically Sortable Identifier).
string.ulid
Generator settings
Generate data to see results here.
Parameters & Example
Returns a ULID (Universally Unique Lexicographically Sortable Identifier).
string.ulid(options?: { refDate? })- options
- The optional options object.
- options.refDate
- The timestamp to encode into the ULID. The encoded timestamp is represented by the first 10 characters of the result. Defaults to the configured reference date.
Example
"01KDVDNA00N4K2NDBT45SQETQX"Use synthetic data in a test environment.