Rules to be followed to use the package
-
First of all mentioning this is only the first release and contains only 3000 basic words. If this package gets support will be adding more words.
-
Install the package in the command line:
npm i is-word-meaningful
-
Require the package:
const isMeaningfulWord= require('is-word-meaningful')
-
To check if the word is meaningful write the following code:
const validWord= isMeaningfulWord(word)
console.log(validWord)