{"_id":"hunspell-spellchecker","_rev":"8-9d3f3db1eaabdff22f9e51b4275e5d36","name":"hunspell-spellchecker","description":"Parse and use Hunspell dictionaries in Javascript","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"hunspell-spellchecker","version":"1.0.0","homepage":"https://github.com/GitbookIO/hunspell-spellchecker","description":"Parse and use Hunspell dictionaries in Javascript","main":"lib/index.js","dependencies":{},"devDependencies":{"mocha":"2.2.1","gulp":"3.8.11","gulp-browserify":"0.5.1","gulp-uglify":"1.1.0","del":"1.1.1","gulp-rename":"1.2.0","gulp-inject-string":"0.0.2"},"scripts":{"test":"mocha --reporter spec --recursive --bail","prepublish":"gulp"},"bin":{"hunspell-tojson":"./bin/hunspell-tojson.js"},"repository":{"type":"git","url":"https://github.com/GitbookIO/hunspell-spellchecker.git"},"keywords":["licenses"],"author":{"name":"GitBook","email":"contact@gitbook.com"},"license":"Apache 2","bugs":{"url":"https://github.com/GitbookIO/hunspell-spellchecker/issues"},"_id":"hunspell-spellchecker@1.0.0","dist":{"shasum":"5cd7b798f41c12430717fabf099ce565836e910a","tarball":"https://registry.npmjs.org/hunspell-spellchecker/-/hunspell-spellchecker-1.0.0.tgz","integrity":"sha512-v59tQguC5ZL4dQowOBVWnw7M1lv+XiKj4etIrLqsNurQytMlUf2wGVQuj1tlFc/vynvboMVaDPjAitHdaEh9ow==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCPBOZxncy7uCtxdeWlBLs4pXpNEMuBXuFs98y9Aj1mjgIgbusiAxljAIx+3lviRcNHbIyGLRYumay3m0LSJp39pu4="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"samypesse","email":"samypesse@gmail.com"},"maintainers":[{"name":"samypesse","email":"samypesse@gmail.com"}]},"1.0.1":{"name":"hunspell-spellchecker","version":"1.0.1","homepage":"https://github.com/GitbookIO/hunspell-spellchecker","description":"Parse and use Hunspell dictionaries in Javascript","main":"lib/index.js","dependencies":{},"devDependencies":{"mocha":"2.2.1","gulp":"3.8.11","gulp-browserify":"0.5.1","gulp-uglify":"1.1.0","del":"1.1.1","gulp-rename":"1.2.0","gulp-inject-string":"0.0.2"},"scripts":{"test":"mocha --reporter spec --recursive --bail","prepublish":"gulp"},"bin":{"hunspell-tojson":"./bin/hunspell-tojson.js"},"repository":{"type":"git","url":"https://github.com/GitbookIO/hunspell-spellchecker.git"},"keywords":["licenses"],"author":{"name":"GitBook","email":"contact@gitbook.com"},"license":"Apache 2","bugs":{"url":"https://github.com/GitbookIO/hunspell-spellchecker/issues"},"gitHead":"9cd8442ec7a34131ff442ef0850320c2b22df871","_id":"hunspell-spellchecker@1.0.1","_shasum":"e0b66cdcbbc1299ba80dfef81ee1e2cd7793a4c8","_from":".","_npmVersion":"2.7.6","_nodeVersion":"0.10.26","_npmUser":{"name":"samypesse","email":"samypesse@gmail.com"},"dist":{"shasum":"e0b66cdcbbc1299ba80dfef81ee1e2cd7793a4c8","tarball":"https://registry.npmjs.org/hunspell-spellchecker/-/hunspell-spellchecker-1.0.1.tgz","integrity":"sha512-RB11/4kIBOk0S826A2X4DkatAdLGZqTBzTfdOLhLCGaj9qTHXyl/JJdmFr292PG8n4xYvhj1LscBcp7641B+XA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDX2yB6AUluxuyaOD/8XirVt/2z6mcQjzJFagvlMiaVvAiEAnAfdr6cHVKpLbYoEt8AXBCn6Inz8lFRvEgeYRwX6QfE="}]},"maintainers":[{"name":"samypesse","email":"samypesse@gmail.com"}]},"1.0.2":{"name":"hunspell-spellchecker","version":"1.0.2","homepage":"https://github.com/GitbookIO/hunspell-spellchecker","description":"Parse and use Hunspell dictionaries in Javascript","main":"lib/index.js","dependencies":{},"devDependencies":{"mocha":"2.2.1","gulp":"3.8.11","gulp-browserify":"0.5.1","gulp-uglify":"1.1.0","del":"1.1.1","gulp-rename":"1.2.0","gulp-inject-string":"0.0.2"},"scripts":{"test":"mocha --reporter spec --recursive --bail","prepublish":"gulp"},"bin":{"hunspell-tojson":"./bin/hunspell-tojson.js"},"repository":{"type":"git","url":"git+https://github.com/GitbookIO/hunspell-spellchecker.git"},"keywords":["licenses"],"author":{"name":"GitBook","email":"contact@gitbook.com"},"license":"Apache 2","bugs":{"url":"https://github.com/GitbookIO/hunspell-spellchecker/issues"},"gitHead":"1f1c51657cd5312948ead8ed73635bb4c75667d2","_id":"hunspell-spellchecker@1.0.2","_shasum":"a10b0bd2fa00a65ab62a4c6b734ce496d318910e","_from":".","_npmVersion":"2.11.1","_nodeVersion":"0.10.26","_npmUser":{"name":"samypesse","email":"samypesse@gmail.com"},"dist":{"shasum":"a10b0bd2fa00a65ab62a4c6b734ce496d318910e","tarball":"https://registry.npmjs.org/hunspell-spellchecker/-/hunspell-spellchecker-1.0.2.tgz","integrity":"sha512-4DwmFAvlz+ChsqLDsZT2cwBsYNXh+oWboemxXtafwKIyItq52xfR4e4kr017sLAoPaSYVofSOvPUfmOAhXyYvw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCx23h4OzzFZvM/WE7ZRt7Cxgpf4dAK+oLMvlTBbabdEgIhAIh8SSOpbOQQoJvlXvSCbzhGAqYzVESh9GeZZ4oh3kB9"}]},"maintainers":[{"name":"samypesse","email":"samypesse@gmail.com"}]}},"readme":"# Hunspell Spellchecker in Javascript\n\n[![Build Status](https://travis-ci.org/GitbookIO/hunspell-spellchecker.png?branch=master)](https://travis-ci.org/GitbookIO/hunspell-spellchecker)\n[![NPM version](https://badge.fury.io/js/hunspell-spellchecker.svg)](http://badge.fury.io/js/hunspell-spellchecker)\n\nA 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.\n\n### Installation\n\n```\n$ npm install hunspell-spellchecker\n```\n\n### API\n\nInitialize a spellchecker instance:\n\n```js\nvar Spellchecker = require(\"hunspell-spellchecker\");\n\nvar spellchecker = new Spellchecker();\n```\n\nParse and serialize a dictionary\n\n```js\n// Parse an hunspell dictionary that can be serialized as JSON\nvar DICT = spellchecker.parse({\n    aff: fs.readFileSync(\"./en_EN.aff\");\n    dic: fs.readFileSync(\"./en_EN.dic\")\n});\n```\n\nLoad a serialized dictionary\n\n```js\n// Load a dictionary\nspellchecker.use(DICT);\n```\n\nCheck a word:\n\n```js\n// Check a word\nvar isRight = spellchecker.check(\"tll\");\n```\n","maintainers":[{"name":"samypesse","email":"samypesse@gmail.com"}],"time":{"modified":"2022-06-18T23:13:19.629Z","created":"2015-03-14T10:09:53.452Z","1.0.0":"2015-03-14T10:09:53.452Z","1.0.1":"2015-05-25T09:20:59.986Z","1.0.2":"2015-08-16T11:15:26.618Z"},"homepage":"https://github.com/GitbookIO/hunspell-spellchecker","keywords":["licenses"],"repository":{"type":"git","url":"git+https://github.com/GitbookIO/hunspell-spellchecker.git"},"author":{"name":"GitBook","email":"contact@gitbook.com"},"bugs":{"url":"https://github.com/GitbookIO/hunspell-spellchecker/issues"},"license":"Apache 2","readmeFilename":"README.md","users":{"thesagarsutar":true,"timbrandin":true}}