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