Header menu logo ananoid

Defaults Module

Defines the recommended set of characters and output length for optimally generating nano identifier strings.

Functions and values

Function or value Description

Defaults.Alphabet

Full Usage: Defaults.Alphabet

Returns: string

An alphabet consisting of: URL-friendly numbers, English letters, and symbols (ie: A-Za-z0-9_-). This is the default alphabet if one is not explicitly specified.

Returns: string

Defaults.Size

Full Usage: Defaults.Size

Returns: int

Twenty-one (21) single-byte characters. This is the default output length if one is not explicitly specified.

Returns: int

Type something to start searching.