check-word

check if the word exist in the language configured, the language could be english or spanish

Usage no npm install needed!

<script type="module">
  import checkWord from 'https://cdn.skypack.dev/check-word';
</script>

README

check-word

check if the word exist in the language configured, the language could be english or spanish

install

$ npm install check-word

how to use?

var checkWord = require('check-word'),
    words     = checkWord('en'); // setup the language for check, default is en
    
words.check('dog'); // true
words.check('perro'); // false
words.check('hi'); // true

...

credits

thanks to repository atebits/words.