word-counter-api
Version:
Word counting API w/CLI
26 lines (18 loc) • 604 B
Markdown
[Github](https://github.com/hiimjustin000/word-counter-api) | **NPM**
 
# Word Counter API
Word counting API w/CLI
```js
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
```