lexis-cli
v1.0.16
Published
Word counting made easy. Retrieve the number of words in a string or stdin.
Downloads
10
Readme
Word counting made easy. Retrieve the number of words in a string or stdin.
Install
~ ❯❯❯ npm install -g lexis-cli
Usage
~ ❯❯❯ lexis --help
Usage
~ ❯❯❯ lexis <text>
~ ❯❯❯ cat <file> | lexis
~ ❯❯❯ echo <text> | lexis
Example
~ ❯❯❯ lexis 'Lorem ipsum dolor sit amet'
//=> 5
Demo
Related
- lexis-count - API for this module
License
MIT © Nikolaos Kamarinakis