Analysis updated 2026-07-04 · repo last pushed 2023-01-05
Build a 'did you mean?' suggestion when a user searches for something slightly misspelled.
Auto-correct typos in a search bar to show the right product or content.
Match a shortened or mistyped command to the nearest valid option in a CLI tool.
| tanhauhau/levenary | aaaddress1/vibe-reading | amirhosseinjpl/jpl-sub-processor | |
|---|---|---|---|
| Stars | 24 | 24 | 24 |
| Language | JavaScript | JavaScript | JavaScript |
| Last pushed | 2023-01-05 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | easy | moderate | moderate |
| Complexity | 2/5 | 2/5 | 3/5 |
| Audience | developer | researcher | ops devops |
Figures from each repo's GitHub metadata at analysis time.
Just install via npm and import it, no external services or configuration needed.
levenary is a small JavaScript tool that finds the closest match to a word from a list of options. If you give it the word "cat" and a list of animals like "cow," "dog," and "pig," it will tell you that "cow" is the most similar option. This is incredibly useful whenever you want to build a "did you mean?" feature or automatically correct minor typos in what someone has typed. Under the hood, it calculates how many single-character edits, such as adding, removing, or swapping a letter, it would take to turn your input word into each option on the list. The option requiring the fewest changes wins. The README notes that it relies on a proven, fast method for doing this math, so it can compare your word against many possibilities very quickly without slowing down your application. A developer would use this when building user-facing features that need to be forgiving of spelling mistakes. For example, imagine a customer is searching an online store for a "blue shrt", this tool could help the store figure out they probably meant "blue shirt." The developer just imports the tool, provides the misspelled word, and provides the list of valid options. It hands back the best match, and the application can then show the right product. What stands out about this project is its deliberate simplicity. The creator intentionally built it to do exactly one job, return the single closest matching word, and nothing else. It also includes built-in support for popular code-checking tools that help developers catch errors while writing software, which makes it easier to drop into modern projects. The included performance benchmarks show it is significantly faster than other similar utilities, making it a smart pick when speed matters.
A tiny JavaScript tool that finds the closest matching word from a list, perfect for building 'did you mean?' or typo-correction features in apps.
Mainly JavaScript. The stack also includes JavaScript.
Dormant — no commits in 2+ years (last push 2023-01-05).
Setup difficulty is rated easy, with roughly 5min to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Verify against the repo before relying on details.