Ulid生成器
Ulid生成器 · string.ulid. 生成方法 · 示例
string.ulid
生成设置
生成后在这里查看结果。
参数 & 示例
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.
示例
"01KDVDNA00N4K2NDBT45SQETQX"请在测试环境使用合成数据。