Back to Explore

dcporter/didyoumean.js

GitHub
1 watchersOpen source

Last release: 6/24/2021

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 source appears to be maintained only intermittently, with its last upstream push reported on 2021-06-24, and no further updates shown after that point.
  • Update cadence looks highly sporadic, with major updates in 2013-2014 (v1.1.0, v1.2.0) followed by a long gap until a later update in 2021 (v1.2.2).

AI summary generated Today

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

Recent updates

  • v1.2.2

    6/24/2021

    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

    3/16/2014

    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

    2/28/2013

    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.