Skip to main content
Module

x/fuse/docs/api/config.md

Lightweight fuzzy-search, in JavaScript
Very Popular
Latest
File

Global config

You can access all options above via Fuse.config. This is useful if you want to override default options for all Fuse instances.

Example:

const options = {
  getFn: (obj, path) => {
    // Use the default `get` function
    const value = Fuse.config.getFn(obj, path)
    // ... do something with `value`
    return value
  }
}