Easy Word Counter count the number of word in a text Install Easy Word Counter npm i easy-word-counter Count the number of word in a text/sentence const easywordcounter = require('easy-word-counter'); easywordcounter.countWords(sentence);