A function to generate a ULID based on the ULID spec.
Follow the instructions in our manual to add our package repository and then run the below command.
apt-get install halon-extras-ulid
yum install halon-extras-ulid
These functions needs to be imported from the extras://ulid module path.
Returns ULID as a string
Example
import { ulid } from "extras://ulid";
echo ulid(); // 01EH88W9FYYEQ2ANNRF5PCQVPM