An open API service indexing awesome lists of open source software.

https://github.com/agrublev/spell-check-website


https://github.com/agrublev/spell-check-website

node nodejs spellcheck spellchecker

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

# Spell Check Website with Node

## Use inside node script

```js
const spellCheck = require("spell-check-website");

(async () => {
let res = await spellCheck("https://spellll.surge.sh/");
console.log(res);
})();

/* results
{
link: 'https://spellll.surge.sh/',
words: [
{ wrong: 'acccount', correct: 'account' },
{ wrong: 'avalable', correct: 'available' },
{ wrong: 'featurs', correct: 'feature' },
{ wrong: 'liek', correct: 'like' }
]
}
*/
```

## Or use as command line

```bash
spell-check-website check "https://spellll.surge.sh"
```