Skip to content

Commit

Permalink
Add nanoid.exs
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Jul 2, 2024
1 parent 89e9612 commit 0dbcd28
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions nanoid.exs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# https://hex.pm/packages/nanoid
# https://github.com/ai/nanoid
# https://zelark.github.io/nano-id-cc/

Mix.install([
{:nanoid, "~> 2.1"}
])

IO.inspect(Nanoid.generate(12, "0123456789abcdefghijklmnopqrstuvwxyz"))

0 comments on commit 0dbcd28

Please sign in to comment.