Skip to content

halon-extras/ulid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Universally Unique Lexicographically Sortable Identifier

A function to generate a ULID based on the ULID spec.

Installation

Follow the instructions in our manual to add our package repository and then run the below command.

Ubuntu

apt-get install halon-extras-ulid

RHEL

yum install halon-extras-ulid

Exported functions

These functions needs to be imported from the extras://ulid module path.

ulid()

Returns ULID as a string

Example

import { ulid } from "extras://ulid";

echo ulid(); // 01EH88W9FYYEQ2ANNRF5PCQVPM

About

Universally Unique Lexicographically Sortable Identifier

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors