check-if-word-partial
TypeScript icon, indicating that this package has built-in type declarations

1.1.4 • Public • Published

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 >)" [s0c5]david.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

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
1.1.41latest

Version History

VersionDownloads (Last 7 Days)Published
1.1.41
1.1.30
1.1.20
1.1.10
1.1.00
1.0.90
1.0.80
1.0.70
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i check-if-word-partial

Weekly Downloads

1

Version

1.1.4

License

MIT

Unpacked Size

1.71 MB

Total Files

18

Last publish

Collaborators

  • jp3tri3