typeid-elixir/README.md
Sloane Perrault 3337d6b2cd
publish 0.0.1
2023-06-30 07:24:59 -04:00

25 lines
1,023 B
Markdown

# TypeID Elixir
[![CI](https://github.com/sloanelybutsurely/typeid-elixir/actions/workflows/ci.yaml/badge.svg)](https://github.com/sloanelybutsurely/typeid-elixir/actions/workflows/ci.yaml)
Read the full documentation on [hexdocs](https://hexdocs.pm/typeid_elixir/TypeID.html)
### A type-safe, K-sortable, globally unique identifier inspired by Stripe IDs
[TypeIDs](https://github.com/jetpack-io/typeid) 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](https://hex.pm/packages/typeid_elixir) by adding `typeid_elixir` to your list of dependencies in `mix.exs`:
```elixir
def deps do
[
{:typeid_elixir, "~> 0.0.1"}
]
end
```
## Spec
The original TypeID spec is defined [here](https://github.com/jetpack-io/typeid).