github krisk/Fuse v7.4.0-beta.1

pre-release19 hours ago

Features

  • FuseWorker — parallel search via Web Workers (9ba192c)

Distributes search across multiple Web Workers for near-linear speedup on large datasets. Benchmarked at ~5x faster with 8 workers on 100K documents, with zero UI jank.

import { FuseWorker } from 'fuse.js/worker'

const fuse = new FuseWorker(docs, options)
const results = await fuse.search('query')
fuse.terminate()

API: search, add, setCollection, terminate.

This is a beta release — the API may change based on feedback. Please open an issue if you have thoughts on the API surface.

Web Workers documentation

Don't miss a new Fuse release

NewReleases is sending notifications on new releases.