The brand type for the fractional index
Configuration options for the fractional indexing utility
A binary-based fractional indexing utility instance
// Create a binary-based fractional indexing utility
const binaryFraci = fraciBinary({ brand: "exampleIndex" });
// Generate a key between null and null (first key)
const [key1] = binaryFraci.generateKeyBetween(null, null);
// Generate a key between key1 and null (key after key1)
const [key2] = binaryFraci.generateKeyBetween(key1, null);
// Generate a key between key1 and key2
const [key3] = binaryFraci.generateKeyBetween(key1, key2);
Creates a binary-based fractional indexing utility with the specified configuration.