{"_id":"codemirror-spell-checker","_rev":"1213779","name":"codemirror-spell-checker","description":"Dead-simple spell checking in CodeMirror.","dist-tags":{"latest":"1.1.2"},"maintainers":[{"name":"wescossick","email":"wes@sparksuite.com"}],"time":{"modified":"2021-10-13T05:46:57.000Z","created":"2016-06-07T21:43:59.459Z","1.1.2":"2016-06-14T17:45:01.711Z","1.1.1":"2016-06-07T23:05:51.108Z","1.1.0":"2016-06-07T21:43:59.459Z"},"users":{},"author":{"name":"Wes Cossick","url":"http://www.WesCossick.com"},"repository":{"type":"git","url":"git+https://github.com/NextStepWebs/codemirror-spell-checker.git"},"versions":{"1.1.2":{"name":"codemirror-spell-checker","version":"1.1.2","description":"Dead-simple spell checking in CodeMirror.","keywords":["codemirror","code","mirror","spell","checker","checking","spellchecker","spellchecking","javascript"],"homepage":"https://github.com/NextStepWebs/codemirror-spell-checker","main":"./src/js/spell-checker.js","license":"MIT","company":"Next Step Webs, Inc.","author":{"name":"Wes Cossick","url":"http://www.WesCossick.com"},"bugs":{"url":"https://github.com/NextStepWebs/codemirror-spell-checker/issues"},"dependencies":{"typo-js":"*"},"devDependencies":{"browserify":"*","debug":"*","eslint":"*","gulp":"*","gulp-concat":"*","gulp-debug":"*","gulp-eslint":"*","gulp-header":"*","gulp-jsbeautifier":"*","gulp-clean-css":"*","gulp-rename":"*","gulp-uglify":"*","vinyl-source-stream":"*","vinyl-buffer":"*"},"repository":{"type":"git","url":"git+https://github.com/NextStepWebs/codemirror-spell-checker.git"},"gitHead":"07bf459b5a4891fa85a1220a520f90ac427e478a","_id":"codemirror-spell-checker@1.1.2","scripts":{},"_shasum":"1c660f9089483ccb5113b9ba9ca19c3f4993371e","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.1","_npmUser":{"name":"nextstepwebs","email":"support@nextstepwebs.com"},"dist":{"shasum":"1c660f9089483ccb5113b9ba9ca19c3f4993371e","size":579946,"noattachment":false,"key":"/codemirror-spell-checker/-/codemirror-spell-checker-1.1.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/codemirror-spell-checker/download/codemirror-spell-checker-1.1.2.tgz"},"maintainers":[{"name":"wescossick","email":"wes@sparksuite.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/codemirror-spell-checker-1.1.2.tgz_1465926296252_0.14315290143713355"},"directories":{},"publish_time":1465926301711,"_cnpm_publish_time":1465926301711,"_hasShrinkwrap":false},"1.1.1":{"name":"codemirror-spell-checker","version":"1.1.1","description":"Dead-simple spell checking in CodeMirror.","keywords":["codemirror","code","mirror","spell","checker","checking","spellchecker","spellchecking","javascript"],"homepage":"https://github.com/NextStepWebs/codemirror-spell-checker","main":"./src/js/spell-checker.js","license":"MIT","company":"Next Step Webs, Inc.","author":{"name":"Wes Cossick","url":"http://www.WesCossick.com"},"bugs":{"url":"https://github.com/NextStepWebs/codemirror-spell-checker/issues"},"dependencies":{"typo-js":"*"},"devDependencies":{"browserify":"^11.2.0","debug":"^2.2.0","eslint":"*","gulp":"*","gulp-concat":"*","gulp-debug":"^2.1.1","gulp-eslint":"*","gulp-header":"*","gulp-jsbeautifier":"*","gulp-minify-css":"^1.2.1","gulp-rename":"^1.2.2","gulp-uglify":"*","vinyl-source-stream":"*","vinyl-buffer":"*"},"repository":{"type":"git","url":"git+https://github.com/NextStepWebs/codemirror-spell-checker.git"},"gitHead":"ae60e15bd3f5173b61da18a2e45ccd22d6e4df22","_id":"codemirror-spell-checker@1.1.1","scripts":{},"_shasum":"4dff5b4aa47a81911647ee4abb867331b48fb1f6","_from":".","_npmVersion":"2.11.3","_nodeVersion":"0.12.7","_npmUser":{"name":"nextstepwebs","email":"support@nextstepwebs.com"},"dist":{"shasum":"4dff5b4aa47a81911647ee4abb867331b48fb1f6","size":583383,"noattachment":false,"key":"/codemirror-spell-checker/-/codemirror-spell-checker-1.1.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/codemirror-spell-checker/download/codemirror-spell-checker-1.1.1.tgz"},"maintainers":[{"name":"wescossick","email":"wes@sparksuite.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/codemirror-spell-checker-1.1.1.tgz_1465340749066_0.15824594488367438"},"directories":{},"publish_time":1465340751108,"_cnpm_publish_time":1465340751108,"_hasShrinkwrap":false},"1.1.0":{"name":"codemirror-spell-checker","version":"1.1.0","description":"Dead-simple spell checking in CodeMirror.","keywords":["codemirror","code","mirror","spell","checker","checking","spellchecker","spellchecking","javascript"],"homepage":"https://github.com/NextStepWebs/codemirror-spell-checker","main":"gulpfile.js","license":"MIT","company":"Next Step Webs, Inc.","author":{"name":"Wes Cossick","url":"http://www.WesCossick.com"},"bugs":{"url":"https://github.com/NextStepWebs/codemirror-spell-checker/issues"},"dependencies":{"typo-js":"*"},"devDependencies":{"browserify":"^11.2.0","browserify-shim":"^3.8.10","debug":"^2.2.0","eslint":"*","gulp":"*","gulp-concat":"*","gulp-debug":"^2.1.1","gulp-eslint":"*","gulp-header":"*","gulp-jsbeautifier":"*","gulp-minify-css":"^1.2.1","gulp-rename":"^1.2.2","gulp-uglify":"*","vinyl-source-stream":"*","vinyl-buffer":"*"},"repository":{"type":"git","url":"git+https://github.com/NextStepWebs/codemirror-spell-checker.git"},"gitHead":"29a6a5f5325b4a5106400768a3805d00b34d2cc4","_id":"codemirror-spell-checker@1.1.0","scripts":{},"_shasum":"eab8dcd115bcdc05216f1bd0bddd277f03ab52ad","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.1","_npmUser":{"name":"nextstepwebs","email":"support@nextstepwebs.com"},"dist":{"shasum":"eab8dcd115bcdc05216f1bd0bddd277f03ab52ad","size":574806,"noattachment":false,"key":"/codemirror-spell-checker/-/codemirror-spell-checker-1.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/codemirror-spell-checker/download/codemirror-spell-checker-1.1.0.tgz"},"maintainers":[{"name":"wescossick","email":"wes@sparksuite.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/codemirror-spell-checker-1.1.0.tgz_1465335837581_0.8501842014957219"},"directories":{},"publish_time":1465335839459,"_cnpm_publish_time":1465335839459,"_hasShrinkwrap":false}},"readme":"# CodeMirror Spell Checker\nSpell checking so simple, you can set up in 60 seconds. It will highlight any misspelled words in light red. Works great in conjunction with other CodeMirror modes, like GitHub Flavored Markdown.\n\n[Demo](http://nextstepwebs.github.io/codemirror-spell-checker/)\n\n![Screenshot](http://i.imgur.com/7yb5Nne.png)\n\n## Install\n\nVia [npm](https://www.npmjs.com/package/codemirror-spell-checker).\n```\nnpm install codemirror-spell-checker --save\n```\n\nVia [bower](https://www.bower.io).\n```\nbower install codemirror-spell-checker --save\n```\n\nVia [jsDelivr](https://www.jsdelivr.com/projects/codemirror.spell-checker). *Please note, jsDelivr may take a few days to update to the latest release.*\n\n```HTML\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/codemirror.spell-checker/latest/spell-checker.min.css\">\n<script src=\"https://cdn.jsdelivr.net/codemirror.spell-checker/latest/spell-checker.min.js\"></script>\n```\n\n## Quick start\nOnce CodeMirror is installed and loaded, first provide CodeMirror Spell Checker with the correct CodeMirror function. Then, just set the primary mode to `\"spell-checker\"` and the backdrop mode to your desired mode. Be sure to load/require `overlay.min.js` if you haven't already.\n\n```JS\nCodeMirrorSpellChecker({\n\tcodeMirrorInstance: CodeMirror,\n});\n\nCodeMirror.fromTextArea(document.getElementById(\"textarea\"), {\n\tmode: \"spell-checker\",\n\tbackdrop: \"gfm\" // Your desired mode\n});\n```\n\nThat's it!\n\n## Customizing\nYou can customize the misspelled word appearance by updating the CSS. All misspelled words will have the `.cm-spell-error` class.\n\n```CSS\n.CodeMirror .cm-spell-error{\n\t/* Your styling here */\n}\n```\n","_attachments":{},"homepage":"https://github.com/NextStepWebs/codemirror-spell-checker","bugs":{"url":"https://github.com/NextStepWebs/codemirror-spell-checker/issues"},"license":"MIT"}