1.3.1 • Published 4 years ago
word-counter-api v1.3.1
Github | NPM
Word Counter API
Word counting API w/CLI
const counter = require("word-counter-api");
counter("Test thing because yes"); // { 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