cli-timer

0.0.1 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i cli-timer

Weekly Downloads

118

Version

0.0.1

License

MIT

Last publish

Collaborators

  • kchan