Usage Example
import Fuse from 'fuse.js';
const res = await fetch('./index/fuse-assets.json');
const { data, index } = await res.json();
const fuseIndex = Fuse.parseIndex(index);
const fuse = new Fuse(data, {
keys: ['name', 'symbol'],
threshold: 0.3
}, fuseIndex);
const results = fuse.search('usdt');