Closed lucasmrdt closed 4 years ago
This option allows the user to specify custom options for each item.
// example const itemsOptions = [{ threshold: 0.2 }, { threshold: 1 }]; const fuse = new Fuse(['batman', 'apple'], { itemsOptions }); fuse.search('bat'); // [0, 1]