0.0.2 • Published 7 years ago

stream-stat v0.0.2

Weekly downloads
2
License
MIT
Repository
-
Last release
7 years ago

StreamStat

Output statistics about data from stdin while redirecting the data to stdout. The statistics are bytes read, bytes read per second, lines read, lines read per second and total seconds.

Usage

cat /dev/random | npx stream-stat > /dev/null

gunzip -c /path/to/file.gz | npx stream-stat > /path/to/unzipped

Installation

As of NPM 5.2.0, no install is necessary! Just use npx...

cat /dev/random | npx stream-stat > /dev/null

If you still want to use install it...

$ npm install stream-stat

License

The gem is available as open source under the terms of the MIT License.