npm

word-counter-api
TypeScript icon, indicating that this package has built-in type declarations

1.3.1 • Public • Published

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

Package Sidebar

Install

npm i word-counter-api

Weekly Downloads

2

Version

1.3.1

License

MIT

Unpacked Size

2.62 kB

Total Files

6

Last publish

Collaborators

  • hiimjustin000