Hunspell Spellchecker in Javascript
A lightweight spellchecker written in Javascript, it can be used in Node.JS and in the browser. It has been build to be pre-parse Hunspell dictionary to JSON.
Installation
$ npm install hunspell-spellchecker
API
Initialize a spellchecker instance:
var Spellchecker = ; var spellchecker = ;
Parse and serialize a dictionary
// Parse an hunspell dictionary that can be serialized as JSONvar DICT = spellchecker;
Load a serialized dictionary
// Load a dictionaryspellchecker;
Check a word:
// Check a wordvar isRight = spellchecker;