// Load the dictionary for the language you want to use var dictionary = new Typo("en_US"); // Get suggestions for a misspelled word var suggestions = dictionary.suggest("speling"); console.log("Did you mean: " + suggestions.join(", "));
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter