Generate a ULID, optionally based on a given timestamp. If the timestamp is
not passed, it will default to Date.now().
Multiple calls to this function with the same seed time will not guarantee
that the ULIDs will be strictly increasing, even if the seed time is the
same. For that, use the monotonicUlid function.
Parameters
seedTime: number = ...
The time to base the ULID on, in milliseconds since the Unix epoch. Defaults to Date.now().
Generate a ULID, optionally based on a given timestamp. If the timestamp is not passed, it will default to
Date.now().Multiple calls to this function with the same seed time will not guarantee that the ULIDs will be strictly increasing, even if the seed time is the same. For that, use the
monotonicUlidfunction.