Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 756 Bytes

README.md

File metadata and controls

34 lines (22 loc) · 756 Bytes

Nanoid

Build Status Coverage

Simple and minimalist Julia implementation of nanoid.

Install

Pkg.add("Nanoid")

Usage

import Nanoid

id = Nanoid.nanoid()
# => "tcDIFxMJHw6UgUnbI_6za"

id = Nanoid.nanoid(10)
# => "OutzQWa1SB"

id = Nanoid.nanoid(; alphabet = "ABCDEFGHIJ")
# => "GEHCAGFJIAHCJGIHHIHFF"

id = Nanoid.nanoid(10; alphabet = "abcdef")
# => "abeafebaab"

License

MIT