Elixir implementation of TypeIDs: type-safe, K-sortable, and globally unique identifiers inspired by Stripe IDs
Find a file
Sloane fa0e1f48e4
Lower Elixir and OTP requirement to 1.11, OTP 21 (#12)
* lower elixir requirement, expand testing matrix

* use simpler versions

* downgrade ubuntu version, don't fail fast

* use elixir & otp versions in cache names
2023-07-06 16:19:01 -04:00
.github Lower Elixir and OTP requirement to 1.11, OTP 21 (#12) 2023-07-06 16:19:01 -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 0.2.1 2023-07-06 14:25:44 -04:00
CODE_OF_CONDUCT.md Add Code of Conduct and Contributing documentation (#11) 2023-07-06 15:59:55 -04:00
CONTRIBUTING.md Add Code of Conduct and Contributing documentation (#11) 2023-07-06 15:59:55 -04:00
LICENSE add license 2023-06-30 06:49:44 -04:00
mix.exs Lower Elixir and OTP requirement to 1.11, OTP 21 (#12) 2023-07-06 16:19:01 -04:00
mix.lock Use homerolled UUID module (#9) 2023-07-06 14:23:58 -04:00
README.md 0.2.1 2023-07-06 14:25:44 -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.1"}
  ]
end

Spec

The original TypeID spec is defined here.