{"_id":"typo-js","_rev":"1283550","name":"typo-js","description":"A Hunspell-style spellchecker.","dist-tags":{"latest":"1.2.1"},"maintainers":[{"name":"cfinke","email":"cfinke@gmail.com"}],"time":{"modified":"2021-10-19T02:20:59.000Z","created":"2016-01-01T04:54:56.464Z","1.2.1":"2021-10-19T02:17:15.903Z","1.2.0":"2020-12-09T16:36:35.628Z","1.1.0":"2019-12-07T07:00:20.645Z","1.0.3":"2017-01-15T05:25:15.979Z","1.0.2":"2016-11-25T18:21:36.264Z","1.0.1":"2016-01-01T04:59:37.525Z","1.0.0":"2016-01-01T04:54:56.464Z"},"users":{"usex":true,"danielbankhead":true,"teamsteamdev":true},"author":{"name":"Christopher Finke","email":"cfinke@gmail.com","url":"http://www.chrisfinke.com/"},"repository":{"type":"git","url":"git://github.com/cfinke/Typo.js.git"},"versions":{"1.2.1":{"name":"typo-js","version":"1.2.1","description":"A Hunspell-style spellchecker.","main":"typo.js","repository":{"type":"git","url":"git://github.com/cfinke/Typo.js.git"},"keywords":["spellcheck","spellchecker","hunspell","typo","speling"],"author":{"name":"Christopher Finke","email":"cfinke@gmail.com","url":"http://www.chrisfinke.com/"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/cfinke/Typo.js/issues"},"homepage":"https://github.com/cfinke/Typo.js#readme","tonicExample":"var Typo = require('typo-js'); var dictionary = new Typo('en_US'); dictionary.check('mispelled');","browser":{"fs":false},"_id":"typo-js@1.2.1","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"shasum":"334a0d8c3f6c56f2f1e15fdf6c31677793cbbe9b","size":256257,"noattachment":false,"key":"/typo-js/-/typo-js-1.2.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/typo-js/download/typo-js-1.2.1.tgz"},"_npmUser":{"name":"cfinke","email":"cfinke@gmail.com"},"directories":{},"maintainers":[{"name":"cfinke","email":"cfinke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typo-js_1.2.1_1634609835685_0.3673865112993713"},"_hasShrinkwrap":false,"publish_time":1634609835903,"_cnpm_publish_time":1634609835903},"1.2.0":{"name":"typo-js","version":"1.2.0","description":"A Hunspell-style spellchecker.","main":"typo.js","repository":{"type":"git","url":"git://github.com/cfinke/Typo.js.git"},"keywords":["spellcheck","spellchecker","hunspell","typo","speling"],"author":{"name":"Christopher Finke","email":"cfinke@gmail.com","url":"http://www.chrisfinke.com/"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/cfinke/Typo.js/issues"},"homepage":"https://github.com/cfinke/Typo.js#readme","tonicExample":"var Typo = require('typo-js'); var dictionary = new Typo('en_US'); dictionary.check('mispelled');","browser":{"fs":false},"_id":"typo-js@1.2.0","_nodeVersion":"12.18.4","_npmVersion":"6.14.6","dist":{"shasum":"dbe58de3a6dcbbe260b78bf290ee761b008a28e8","size":256253,"noattachment":false,"key":"/typo-js/-/typo-js-1.2.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/typo-js/download/typo-js-1.2.0.tgz"},"_npmUser":{"name":"cfinke","email":"cfinke@gmail.com"},"directories":{},"maintainers":[{"name":"cfinke","email":"cfinke@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typo-js_1.2.0_1607531795316_0.6506352758053107"},"_hasShrinkwrap":false,"publish_time":1607531795628,"_cnpm_publish_time":1607531795628},"1.1.0":{"name":"typo-js","version":"1.1.0","description":"A Hunspell-style spellchecker.","main":"typo.js","repository":{"type":"git","url":"git://github.com/cfinke/Typo.js.git"},"keywords":["spellcheck","spellchecker","hunspell","typo","speling"],"author":{"name":"Christopher Finke","email":"cfinke@gmail.com","url":"http://www.chrisfinke.com/"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/cfinke/Typo.js/issues"},"homepage":"https://github.com/cfinke/Typo.js#readme","tonicExample":"var Typo = require('typo-js'); var dictionary = new Typo('en_US'); dictionary.check('mispelled');","browser":{"fs":false},"_id":"typo-js@1.1.0","scripts":{},"_shasum":"a5a9f592bcb453666bf70c9694da58705d025ed8","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.6.0","_npmUser":{"name":"cfinke","email":"cfinke@gmail.com"},"dist":{"shasum":"a5a9f592bcb453666bf70c9694da58705d025ed8","size":256037,"noattachment":false,"key":"/typo-js/-/typo-js-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/typo-js/download/typo-js-1.1.0.tgz"},"maintainers":[{"name":"cfinke","email":"cfinke@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/typo-js_1.1.0_1575702020454_0.5398811508689751"},"_hasShrinkwrap":false,"publish_time":1575702020645,"_cnpm_publish_time":1575702020645},"1.0.3":{"name":"typo-js","version":"1.0.3","description":"A Hunspell-style spellchecker.","main":"typo.js","repository":{"type":"git","url":"git://github.com/cfinke/Typo.js.git"},"keywords":["spellcheck","spellchecker","hunspell","typo","speling"],"author":{"name":"Christopher Finke","email":"cfinke@gmail.com","url":"http://www.chrisfinke.com/"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/cfinke/Typo.js/issues"},"homepage":"https://github.com/cfinke/Typo.js#readme","tonicExample":"var Typo = require('typo-js'); var dictionary = new Typo('en_US'); dictionary.check('mispelled');","browser":{"fs":false},"_id":"typo-js@1.0.3","scripts":{},"_shasum":"54d8ebc7949f1a7810908b6002c6841526c99d5a","_from":".","_npmVersion":"2.14.7","_nodeVersion":"4.2.2","_npmUser":{"name":"cfinke","email":"cfinke@gmail.com"},"dist":{"shasum":"54d8ebc7949f1a7810908b6002c6841526c99d5a","size":255661,"noattachment":false,"key":"/typo-js/-/typo-js-1.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/typo-js/download/typo-js-1.0.3.tgz"},"maintainers":[{"name":"cfinke","email":"cfinke@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typo-js-1.0.3.tgz_1484457915754_0.28523301240056753"},"directories":{},"publish_time":1484457915979,"_cnpm_publish_time":1484457915979,"_hasShrinkwrap":false},"1.0.2":{"name":"typo-js","version":"1.0.2","description":"A Hunspell-style spellchecker.","main":"typo.js","repository":{"type":"git","url":"git://github.com/cfinke/Typo.js.git"},"keywords":["spellcheck","spellchecker","hunspell","typo","speling"],"author":{"name":"Christopher Finke","email":"cfinke@gmail.com","url":"http://www.chrisfinke.com/"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/cfinke/Typo.js/issues"},"homepage":"https://github.com/cfinke/Typo.js#readme","tonicExample":"var Typo = require('typo-js'); var dictionary = new Typo('en_US'); dictionary.check('mispelled');","browser":{"fs":false},"_id":"typo-js@1.0.2","scripts":{},"_shasum":"a7299b3e23e8b6765205d9b634367bab5887d1d9","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.6.0","_npmUser":{"name":"cfinke","email":"cfinke@gmail.com"},"dist":{"shasum":"a7299b3e23e8b6765205d9b634367bab5887d1d9","size":255556,"noattachment":false,"key":"/typo-js/-/typo-js-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/typo-js/download/typo-js-1.0.2.tgz"},"maintainers":[{"name":"cfinke","email":"cfinke@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/typo-js-1.0.2.tgz_1480098096015_0.11180560244247317"},"directories":{},"publish_time":1480098096264,"_cnpm_publish_time":1480098096264,"_hasShrinkwrap":false},"1.0.1":{"name":"typo-js","version":"1.0.1","description":"A Hunspell-style spellchecker.","main":"typo.js","repository":{"type":"git","url":"git://github.com/cfinke/Typo.js.git"},"keywords":["spellcheck","spellchecker","hunspell","typo","speling"],"author":{"name":"Christopher Finke","email":"cfinke@gmail.com","url":"http://www.chrisfinke.com/"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/cfinke/Typo.js/issues"},"homepage":"https://github.com/cfinke/Typo.js#readme","tonicExample":"var Typo = require('typo-js'); var dictionary = new Typo('en_US'); dictionary.check('mispelled');","_id":"typo-js@1.0.1","scripts":{},"_shasum":"1b15749fdea49ca6227665aed89545ec2eb1ea25","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.10.32","_npmUser":{"name":"cfinke","email":"cfinke@gmail.com"},"dist":{"shasum":"1b15749fdea49ca6227665aed89545ec2eb1ea25","size":254500,"noattachment":false,"key":"/typo-js/-/typo-js-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/typo-js/download/typo-js-1.0.1.tgz"},"maintainers":[{"name":"cfinke","email":"cfinke@gmail.com"}],"directories":{},"publish_time":1451624377525,"_cnpm_publish_time":1451624377525,"_hasShrinkwrap":false},"1.0.0":{"name":"typo-js","version":"1.0.0","description":"A Hunspell-style spellchecker.","main":"typo.js","repository":{"type":"git","url":"git://github.com/cfinke/Typo.js.git"},"keywords":["spellcheck","spellchecker","hunspell","typo","speling"],"author":{"name":"Christopher Finke","email":"cfinke@gmail.com","url":"http://www.chrisfinke.com/"},"license":"BSD-3-Clause","bugs":{"url":"https://github.com/cfinke/Typo.js/issues"},"homepage":"https://github.com/cfinke/Typo.js#readme","_id":"typo-js@1.0.0","scripts":{},"_shasum":"d6d3ba2ff144fd71d2040616d41a712960d3dfa4","_from":".","_npmVersion":"2.12.1","_nodeVersion":"0.10.32","_npmUser":{"name":"cfinke","email":"cfinke@gmail.com"},"dist":{"shasum":"d6d3ba2ff144fd71d2040616d41a712960d3dfa4","size":254091,"noattachment":false,"key":"/typo-js/-/typo-js-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/typo-js/download/typo-js-1.0.0.tgz"},"maintainers":[{"name":"cfinke","email":"cfinke@gmail.com"}],"directories":{},"publish_time":1451624096464,"_cnpm_publish_time":1451624096464,"_hasShrinkwrap":false}},"readme":"Typo.js is a JavaScript spellchecker that uses Hunspell-style dictionaries.\n\nUsage\n=====\n\nTo use Typo, simply load it like so:\n\n```javascript\nvar Typo = require(\"typo-js\");\nvar dictionary = new Typo(lang_code);\n```\n\nTypo includes by default a dictionary for the `en_US` lang_code.\n\nTo check if a word is spelled correctly, do this:\n\n```javascript\nvar is_spelled_correctly = dictionary.check(\"mispelled\");\n```\n\nTo get suggested corrections for a misspelled word, do this:\n\t\n```javascript\nvar array_of_suggestions = dictionary.suggest(\"mispeling\");\n\n// array_of_suggestions == [\"misspelling\", \"dispelling\", \"misdealing\", \"misfiling\", \"misruling\"]\n```\n\nTypo.js has full support for the following Hunspell affix flags:\n\n* PFX\n* SFX\n* REP\n* FLAG\n* COMPOUNDMIN\n* COMPOUNDRULE\n* ONLYINCOMPOUND\n* KEEPCASE\n* NOSUGGEST\n* NEEDAFFIX\n\nLicensing\n=========\n\nTypo.js is free software, licensed under the Modified BSD License.","_attachments":{},"homepage":"https://github.com/cfinke/Typo.js#readme","bugs":{"url":"https://github.com/cfinke/Typo.js/issues"},"license":"BSD-3-Clause"}