kentcdodds / match-sorter

Simple, expected, and deterministic best-match sorting of an array in JavaScript
https://npm.im/match-sorter
MIT License
3.73k stars 129 forks source link

Feature request: typo tolerance #94

Closed KishanBagaria closed 4 years ago

KishanBagaria commented 4 years ago

Are there any plans of adding typo tolerance to the results? For instance, searching "appel" or "applr" in [apple, banana] should return [apple].

kentcdodds commented 4 years ago

Unfortunately that's out of scope. If you need that then you'll want a fuzzy matching library instead.