cli-timer
v0.0.1
Published
timer in command line
Downloads
212
Readme
cli-timer
timer in command line
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