check-word

1.1.0 • Public • Published

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.

Package Sidebar

Install

npm i check-word

Weekly Downloads

1,064

Version

1.1.0

License

GPL 2.0

Last publish

Collaborators

  • s0c5