Skip to content

tkzwtks/Nanoid-perl

Folders and files

NameName
Last commit message
Last commit date
Oct 20, 2022
Apr 13, 2023
Dec 25, 2019
Dec 25, 2019
Nov 26, 2019
Nov 26, 2019
Apr 13, 2023
Nov 27, 2019
Apr 13, 2023
Oct 20, 2022
Oct 20, 2022
Oct 21, 2022

Repository files navigation

Actions Status

NAME

Nanoid - Perl implementation of Nano ID

SYNOPSIS

use Nanoid;

my $default = Nanoid::generate();                                        # length 21 / use URL-friendly characters
my $custom1 = Nanoid::generate(size => 10);                              # length 10 / use URL-friendly characters
my $custom2 = Nanoid::generate(size => 10, alphabet => 'abcdef012345');  # length 10 / use 'abcdef012345' characters

DESCRIPTION

Nanoid is a tiny, secure, URL-friendly, unique string ID generator.

LICENSE

Copyright (C) Hatena Co., Ltd..

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

tkzwtks tkzwtks@gmail.com