Public
Edited
Feb 23, 2021
2 forks
2 stars
Insert cell
Insert cell
Insert cell
fuse.search(query)
Insert cell
list = [
'JoyRide',
'Beach Bunny',
'Jungle',
'Panther',
'Lolly Classic Black',
'Lolly Clementine',
'Lolly Floss',
'Lolly Fuchsia',
'Lolly Honeydew',
'Lolly Pineapple',
'Lolly Pool Blue',
'Lolly Poppy',
'Lolly Strawberry',
'Lolly Taffy',
'Jack',
'Wheels',
'Brake Petals',
'Helmets and Pads',
'Accessories'
]
Insert cell
Insert cell
fuse = new Fuse(list, {
// isCaseSensitive: false,
includeScore: true,
// shouldSort: true,
// includeMatches: false,
// findAllMatches: false,
// minMatchCharLength: 1,
location: 0,
threshold: 0.6,
distance: 60,
// useExtendedSearch: false,
// ignoreLocation: true,
ignoreFieldNorm: true
})
Insert cell
Fuse = require('fuse.js')
Insert cell
import { text } from '@observablehq/legacy-inputs'
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more