Elixir implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
Find a file
2023-06-29 18:22:24 -04:00
lib fix base32 encoding 2023-06-29 18:22:24 -04:00
test fix base32 encoding 2023-06-29 18:22:24 -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
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 docs: minimal README 2023-06-29 17:44:34 -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