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
- Host: GitHub
- URL: https://github.com/agrublev/spell-check-website
- Owner: agrublev
- Created: 2022-11-14T22:48:23.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-12-06T23:36:57.000Z (almost 3 years ago)
- Last Synced: 2025-02-15T06:41:23.841Z (8 months ago)
- Topics: node, nodejs, spellcheck, spellchecker
- Language: JavaScript
- Homepage:
- Size: 66.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
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"
```