Repository navigation
For apps using preset: 'search' since 2.0 or 2.1: 2.2.0 added acronyms: true to this preset, so short queries can return more results. Pass { preset: 'search', acronyms: false } to get the old results back. Nothing in 2.6.0 changes a score.
Added
substringoption: likepartial, and a match may also start inside a word, sophonefindsiPhone 15andvillefindsBelleville. No moreincludes()next to a search. Opt-in: scores without it are unchanged. Also in the MCP server.- Extensions page on the docs site: the packs shipped with fuzzy-toolkit and community ones, found on npm by the keyword
fuzzy-toolkit-pluginor reviewed indocs/extensions.json, with a fuzzy search box. The site rebuilds weekly so new packages appear.
Changed
npx fuzzy-toolkit ai-setuponly writes when the project'spackage.jsonlists fuzzy-toolkit (--forceto write anyway), writes a shorter block that tells assistants to go through the project's existing calls, links the onlinellms.txtinstead of anode_modulespath that may not exist, and never replaces a block someone edited by hand (--forcedoes).- The MCP
checktool says in its description that it gives the engine's verdict, not the verdict of a given app, which adds its own rules.
Project
- A test freezes what each built-in preset sets: a preset only changes in a major version. New behavior comes as an option to turn on.
Docs
searchpreset: 2.2.0 addedacronyms: truein a minor version, which can return more results than 2.1. Documented, withacronyms: falseto get the old behavior back.- Size:
createMatchercarries every method (about 14 kB); import the functions you call for a smaller bundle. - New design for the documentation site. The home page has a live demo scored by the real library, benchmarks and examples for each function.
- New Playground page.
- Getting started shows pnpm, yarn, bun and CDN installs; the search recipe covers React.
- A shorter README that points to the documentation.