https://github.com/sergeysova/strlen
NPM Command line tool
https://github.com/sergeysova/strlen
Last synced: 22 days ago
JSON representation
NPM Command line tool
- Host: GitHub
- URL: https://github.com/sergeysova/strlen
- Owner: sergeysova
- License: mit
- Created: 2015-06-03T10:27:01.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2015-08-26T15:39:58.000Z (almost 11 years ago)
- Last Synced: 2025-10-09T02:00:03.565Z (10 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/strlen
- Size: 156 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# strlen
[](https://nodei.co/npm/strlen/)



[](https://codeclimate.com/github/LestaD/strlen)

Command line tool for counting characters
# Usage
From arguments:
```bash
$ strlen Any long string
15
```
From pipe:
```bash
$ echo "12345" | strlen
5
```
And
```bash
$ strlen < ~/.ssh/id_rsa.pub
396
```
Last:
```bash
$ strlen Me | cat
2
```