stream-stat
v0.0.2
Published
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.
Downloads
2
Readme
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.