npm.io
1.3.1 • Published 6 years agoCLI

word-counter-api

Licence
MIT
Version
1.3.1
Deps
1
Size
3 kB
Vulns
0
Weekly
0

Github | NPM

NPM Version NPM Downloads

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

Keywords