hashids-elixir
hashids-elixir copied to clipboard
Stringify your ids
Adds `seps` option which allows setting non-default separators. Closes #17.
```elixir custom_string = "123456789абвгґдеєжзиіїйклмнопрстуфцчшщьюяАБВГҐДЕЄЖЗИІЇЙКЛМНОПРСТУФЦЧШЩЬЮЯ" hashids = Hashids.new(salt: "ЦжЧєДОЄ8ук", alphabet: custom_string) ** (MatchError) no match of right hand side value: {[], []} (hashids 2.1.0) iex:58: Hashids.Helpers.swap/3 (hashids 2.1.0) iex:54: Hashids.Helpers.loop/6 (hashids...
I use `mix format --migrate` to fix the compilation warnings in Elixir 1.18.3