1.1.4 • Published 2 years ago

check-if-word-partial v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

check-if-word-partial

Check if word exists. Partial version of check-if-word npm package by (Devdutta Bain devdutta.bain@gmail.com), which was built on top of check-word by ( < david.barinas.dev@gmail.com >)" s0c5david.barinas.dev@gmail.com. Separated Regex and downsized to check only 4 to 10 letter words for specific use.

install

$ npm install check-if-word-partial

how to use?

var checkWord = require('check-if-word'),
    words     = checkWord('en'); // setup the language for check, default is en

words.check('dog'); // false (less than 4 letters)
words.check('perro'); // false (wrong word)
words.check('test'); // true

words.getValidWords(["ajsk", "test", "object", "opal", "perl", "perlpali"]); // [ 'test', 'object', 'opal' ]

...

credits

thanks to repository check-if-word

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago