cli-strlen

Find the length of a line of text

Usage no npm install needed!

<script type="module">
  import cliStrlen from 'https://cdn.skypack.dev/cli-strlen';
</script>

README

cli-strlen

Find the length of a line of text

Build Status

js-semistandard-style

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