Elixir implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
Find a file
2023-07-02 08:13:02 -04:00
.github/workflows add ci github action 2023-06-30 07:09:14 -04:00
lib modify to support valid specs 2023-07-02 08:13:02 -04:00
priv/spec modify to support valid specs 2023-07-02 08:13:02 -04:00
test modify to support valid specs 2023-07-02 08:13:02 -04:00
.formatter.exs mix new 2023-06-29 15:20:23 -04:00
.gitignore mix new 2023-06-29 15:20:23 -04:00
.tool-versions mix new 2023-06-29 15:20:23 -04:00
LICENSE add license 2023-06-30 06:49:44 -04:00
mix.exs modify to support valid specs 2023-07-02 08:13:02 -04:00
mix.lock modify to support valid specs 2023-07-02 08:13:02 -04:00
README.md publish 0.0.1 2023-06-30 07:24:59 -04:00

TypeID Elixir

CI

Read the full documentation on hexdocs

A type-safe, K-sortable, globally unique identifier inspired by Stripe IDs

TypeIDs are a modern, type-safe, globally unique identifier based on the upcoming UUIDv7 standard. They provide a ton of nice properties that make them a great choice as the primary identifiers for your data in a database, APIs, and distributed systems. Read more about TypeIDs in their spec.

Installation

The package can be installed from hex by adding typeid_elixir to your list of dependencies in mix.exs:

def deps do
  [
    {:typeid_elixir, "~> 0.0.1"}
  ]
end

Spec

The original TypeID spec is defined here.