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

  • The upstream activity is quiet, with the last known upstream push in 2021-06-24, which is more than 5 years ago relative to today (2026-09-10). There is no evidence in the provided data of ongoing development or active maintenance.
  • The apparent update cadence is very infrequent, with updates spanning large gaps (v1.1.0 in 2013, v1.2.0 in 2014, and v1.2.2 in 2021), suggesting no regular release or updates rhythm.

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.