Elixir implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
Find a file
Sloane 303a474437
Use homerolled UUID module (#9)
* remove uniq, use homerolled uuid module

* update changelog
2023-07-06 14:23:58 -04:00
.github/workflows add ci github action 2023-06-30 07:09:14 -04:00
lib Use homerolled UUID module (#9) 2023-07-06 14:23:58 -04:00
priv/spec add script to update spec, update spec files 2023-07-06 10:22:31 -04:00
scripts add script to update spec, update spec files 2023-07-06 10:22:31 -04:00
test 0.1.0 2023-07-02 08:23:44 -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
CHANGELOG.md Use homerolled UUID module (#9) 2023-07-06 14:23:58 -04:00
LICENSE add license 2023-06-30 06:49:44 -04:00
mix.exs Use homerolled UUID module (#9) 2023-07-06 14:23:58 -04:00
mix.lock Use homerolled UUID module (#9) 2023-07-06 14:23:58 -04:00
README.md 0.2.0 2023-07-06 10:25:34 -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.2.0"}
  ]
end

Spec

The original TypeID spec is defined here.