cli-strlen
v1.0.0
Published
Find the length of a line of text
Downloads
5
Maintainers
Readme
cli-strlen
Find the length of a line of text
Install
$ npm install --save cli-strlen
CLI
$ npm install --global cli-strlen
$ strlen --help
Usage
$ strlen [input]
Examples
$ strlen abcdefghijklmnopqrstuvwxyz
26
$ cat test.txt | strlen
8
# when test.txt contains the text: 'one line'
$ echo 0123456789 | strlen
10
License
MIT © Siddharth Kannan