Back to Explore

dcporter/didyoumean.js

GitHub
2 watchersOpen source

Last release:

didYouMean.js is a simple, optimized JavaScript (and Node.js) module that suggests the closest match to short, human-quality input from a provided list of strings or objects. It uses the Levenshtein distance algorithm, and can be used for tasks like suggesting misspelled command-line options or offering nearby valid URLs for a 404 page.

Project status

  • Quiet maintenance state, last upstream push was in 2021-06-24, so relative to today (2026-06-09) the source appears effectively dormant rather than actively maintained.
  • Apparent update cadence is very infrequent (notably 2013, 2014, then 2021), with long gaps suggesting no regular development cycle.

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v1.2.2

    Release v1.2.2 contains only small packaging and build artifacts changes, plus a subtle logic adjustment inside the didYouMean matching loop. No release notes were provided by the publisher.

  • v1.2.0

    Release v1.2.0 updates the didyoumean package version and switches the published entrypoint to didYouMean-1.2.0.js, along with regenerated minified/browser builds. The only functional code diff revealed in the provided changes is internal refactoring in didYouMean-1.2.0.js, most notably adding strict mode and changing how configuration options are referenced.

  • v1.1.0

    No release notes were provided for v1.1.0, so the changes in this version are not documented in the publisher materials. To assess upgrade impact, you will need to review the actual commit diff or tags between the previous version and v1.1.0.