0.0.1 • Published 9 years ago

cli-timer v0.0.1

Weekly downloads
19
License
MIT
Repository
github
Last release
9 years ago

cli-timer NPM version NPM downloads Build Status

timer in command line

asciicast

CLI

$ npm install -g cli-timer

Usage

# start recording from ...
cli-timer on
# => Start at Wed Jan 27 2016 11:11:02 GMT+0800 (CST)

# the time since the time started
cli-timer tick
# => 29.206 seconds
cli-timer tick
# => 33.321 seconds

# show the timer in live mode
# then the program won't exit until you press ctrl+c
cli-timer log

Node.js API

var timer = require('cli-timer')

timer('on')

timer('tick')

timer('log')

License

MIT © EGOIST