The base configuration defining the encoding strategy
The brand type for the fractional index
Readonly
baseThe character sets used for representing digits in the fractional index.
Optional
Readonly
Internal
brandThe brand type for the fractional index. Does not exist at runtime.
Generates a key between two existing keys. Returns a generator that yields new unique keys between the provided bounds.
The lower bound key, or null if there is no lower bound
The upper bound key, or null if there is no upper bound
Optional
skip: numberNumber of conflict avoidance iterations to skip (default: 0)
A generator yielding fractional index keys
Throws a FraciError when invalid input is provided
Throws a FraciError when the generated key exceeds the maximum length
FraciError - The custom error class for the Fraci library
Generates multiple keys evenly distributed between two existing keys. Returns a generator that yields arrays of new unique keys.
The lower bound key, or null if there is no lower bound
The upper bound key, or null if there is no upper bound
Number of keys to generate
Optional
skip: numberNumber of conflict avoidance iterations to skip (default: 0)
A generator yielding arrays of fractional index keys
Throws a FraciError when invalid input is provided
Throws a FraciError when the generated keys would exceed the maximum length
FraciError - The custom error class for the Fraci library
Fractional indexing utility that provides methods for generating ordered keys.
See