SpellChecker Node Module
Native bindings to NSSpellChecker.
npm install spellchecker
SpellChecker = require 'spellchecker'
Check if a word is misspelled.
word
- String word to check.
Returns true
if the word is misspelled, false
otherwise.
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.