spellchecker

Bindings to native spellchecker

npm install spellchecker
25 downloads in the last week
66 downloads in the last month

SpellChecker Node Module

Native bindings to NSSpellChecker.

Installing

npm install spellchecker

Using

SpellChecker = require 'spellchecker'

SpellChecker.isMisspelled(word)

Check if a word is misspelled.

word - String word to check.

Returns true if the word is misspelled, false otherwise.

SpellChecker.getCorrectionsForMisspelling(word)

Get the corrections for a misspelled word.

word - String word to get corrections for.

Returns a non-null but possibly empty array of string corrections.

npm loves you