Github | NPM
Word Counter API
Word counting API w/CLI
const counter = ; ; // { words: 4, characters: 22 }
Even comes with a CLI!
$ count Test thing because yes
4 words, 22 characters
Installation:
API: npm install word-counter-api
CLI: npm install -g word-counter-api