Closed
Description
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.