Scan your whole stack
Latest version: v2.9.0
fuzzy-toolkit was last scanned on 28 Nov 2026 at version 2.9.0. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 2.9.0 LATEST | 28 Nov 2026 | No rules fired |
| 2.8.1 | 28 Nov 2026 | No rules fired |
Findings for v2.9.0. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 2.9.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
npm install fuzzy-toolkit
import { check, search, closest, find, dedupe } from 'fuzzy-toolkit'
check('bohemian rapsody', 'Bohemian Rhapsody') // { verdict: 'correct', score: 94.12 }
search('new yo', cities, { preset: 'search' }) // New York, New York City
closest('pyhton', ['python', 'java', 'php'])?.item // 'python'
find("je crois que c'est bohemian rapsody", 'Bohemian Rhapsody') // where it is in the text
dedupe(['Beyoncé', 'beyonce', 'Adele']) // ['Beyoncé', 'Adele']
Scores go from 0 to 100, and the default threshold is 80.
check), search as you type (createIndex), suggest corrections (closest), spot names in a message (find, findAll), clean data (dedupe, standardize, join), map CSV headers to your schema (mapFields), repair what a model returned (repair), show what was misspelled (diff).string-similaritystring-similarity is no longer maintained. Change the import, nothing else: same functions, same results, faster.
const stringSimilarity = require('fuzzy-toolkit/string-similarity')
Change the import, keep the code: fuzzy-toolkit/fuse has the Fuse.js API (new Fuse(list, options).search(query)), with fuzzy-toolkit doing the matching. On song titles typed with a typo, the same code finds 80 % of them instead of 65 %, 15 times faster. What differs.
import Fuse from 'fuzzy-toolkit/fuse'
| Getting started | Install, first match, objects and options |
| Recipes | Quizzes, search boxes, "did you mean", data cleaning, command line, AI agents |
| Languages and presets | Add a language or a preset for your kind of data |
| API reference | Every function and option |
| Upgrading from v1 | Formerly guess-rater: what changed |
What can replace string-similarity?
fuzzy-toolkit/string-similarity: same compareTwoStrings and findBestMatch, same results, 2 to 4 times faster.
fuzzy-toolkit or Fuse.js? fuzzy-toolkit finds more results with typos and is faster with a reusable index, and it also grades answers, dedupes, joins lists and finds names in a text. Scores go from 0 to 100, higher is closer.
Does it work with AI assistants?
Yes. npx fuzzy-toolkit mcp gives agents the tools, and npx fuzzy-toolkit ai-setup teaches your project's assistants the API.
Bug reports with a wrong score, new languages, presets and feature ideas are very welcome. To write a language pack or a preset, npx fuzzy-toolkit new-pack language pt starts the package, and the Wanted list shows what people asked for. Otherwise open an issue or a discussion. See CONTRIBUTING.md to get started.
Everyone who contributed is on the Contributors page.
If fuzzy-toolkit saves you time, you can support it on Ko-fi or leave a star.
MIT
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.