2.2.0 • Published 2 years ago

@simboonlong/word-cli v2.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

CI/CD

Word CLI

Command line interface to get useful information from a chunk of text.

Install

npm i -g @simboonlong/word-cli

or

npx -p @simboonlong/word-cli word <command> <arguments>

Demo

Example:

npx -p @simboonlong/word-cli word count 'foobar in hello world!'

The above word count should return 4.


Count

Count total words.

word count 'foobar in hello world!'

Count total characters.

word count 'foobar in hello world!' --character

Occur

Count total occurrences of word in text.

word occur 'foobar in hello world!' --string foobar

Count total occurrences of character in text.

word occur 'foobar in hello world!' --string l --character
2.2.0

2 years ago

2.1.1

2 years ago

2.0.0

3 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago