timestamper

v0.0.1
A tiny tool that adds timestamp prefix to each piped line.

Timestamper

About

A tiny tool that adds timestamp prefix to each piped line.

Installation

npm install -g timestamper

Usage

$ ./slow.sh
This
is
slow

$ ./slow.sh | ts
[2012-05-30 18:45:45]: This
[2012-05-30 18:45:46]: is
[2012-05-30 18:45:47]: slow

$ cat ./slow.sh
#!/usr/bin/env bash
echo "This"
sleep 1
echo "is"
sleep 1
echo "slow"
npm i timestamper

Metadata

  • Unknown
  • 0.6
  • George Miroshnymov
  • released 5/30/2012

Downloads

Maintainers