Elixir implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
Find a file
2023-06-30 07:00:51 -04:00
lib update inspect impl 2023-06-30 07:00:51 -04:00
test add examples, link to spec 2023-06-30 06:53:15 -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 initial implementation 2023-06-29 17:23:05 -04:00
mix.lock initial implementation 2023-06-29 17:23:05 -04:00
README.md add examples, link to spec 2023-06-30 06:53:15 -04:00

TypeID Elixir

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 by adding typeid to your list of dependencies in mix.exs:

def deps do
  [
    {:typeid, "~> 0.1.0"}
  ]
end

Spec

The original TypeID spec is defined here.