UNPKG
alistair
Version:
beta (1.13.0-beta.2)
latest (1.17.0)
1.17.0
1.16.0
1.15.0
1.14.4
1.14.3
1.14.2
1.14.1
1.14.0
1.13.0
1.13.0-beta.2
1.13.0-beta.1
1.12.0
1.11.0
1.10.1
1.10.0
1.9.2
1.9.0
1.8.0
1.7.0
1.6.0
1.5.6
1.5.5
1.5.4
1.5.3
1.5.2
1.5.1
1.5.0
1.4.3
1.4.2
1.4.1
1.4.0
1.3.2
1.3.1
1.3.0
1.2.0
1.1.0
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
github.com/alii/alistair
alii/alistair
alistair
/
dist
/
id
/
index.d.ts
9 lines
(7 loc)
•
244 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
/** * Generates an ID *
@param
length The length of the ID to generate *
@param
alphabet The alphabet to choose characters from. Does not dedupe multiples! */
declare
function
id
(
length?: number, alphabet?:
string
):
string
; export { id };