Skip to content
Given a dictionary, give spelling suggestions.
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.gitignore
.travis.yml
LICENCE
README.md
package.json

README.md

Suggest It

Build Status

Suggest similar words based on a dictionary.

Install

npm install suggest-it

Example usage

var dictionary = ['foo', 'bar', 'baz'];
var suggest = require('suggest-it')(dictionary);
suggest('food'); // foo
Something went wrong with that request. Please try again.