You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of now didyoumean.js matching engine is used to suggest matching commands if the user mistypes. But it is not longer actively maintained. Instead I would suggest switching over to leven which is the fastest JS implementation of the Levenshtein distance algorithm.
What does the proposed API look like?
leven returns the distance between 2 strings which can be made use of to find the exact match.
The text was updated successfully, but these errors were encountered:
What problem does this feature solve?
As of now didyoumean.js matching engine is used to suggest matching commands if the user mistypes. But it is not longer actively maintained. Instead I would suggest switching over to leven which is the fastest JS implementation of the Levenshtein distance algorithm.
What does the proposed API look like?
leven
returns the distance between 2 strings which can be made use of to find the exact match.The text was updated successfully, but these errors were encountered: