V NanoID
This package is V implementation of NanoID
Generated from Go Nanoid
Safe.
Compact.
A-Za-z0-9_-
Fast.
Install
Via vpm
$ v install invipal.nanoid
Usage
Generate ID
id := nanoid.new() or { 'error' }
Generate ID with a custom alphabet and length
id := nanoid.generate('erzurum', 25) or { 'error' }
Contribution
I would welcome your contribution! If you find any improvement or issue you want to fix, feel free to send a pull request, I like pull requests that include test cases for fix/enhancement.
Credits
License
The MIT License (MIT). Please see
License File