Variable: nanoid()

const nanoid: (size?) => string

Generate secure URL-friendly unique ID.

Use https://zelark.github.io/nano-id-cc/ to calculate the length of the ID for the use case with the alphabet provided in the implementation.

Parameters

size?

number

Returns

string