timestamper

0.0.1 • Public • Published

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"

Readme

Keywords

none

Package Sidebar

Install

npm i timestamper

Weekly Downloads

1

Version

0.0.1

License

none

Last publish

Collaborators

  • laggyluke