0.0.15 • Published 7 years ago

console-countdown v0.0.15

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

console-countdown

Greenkeeper badge Build Status Coverage Status

console-countdown demo

Install

npm install console-countdown -g

Usage

This application has been developed for the needs of Pomodoro technique. Therefore, the default option is 25 minutes countdown.

countdown

You can change default number of cycles by option -c. To change time interval length you can use -i.

# Counting down five seconds:
countdown -c 5 -i 1000

Track your time

You can use option -o to define output file if you want to store data from your Pomodoro time tracking. Time records are appended to this file.

countdown -o pomodoro.csv "My first task"

Time record format is:

task;status;start time;end time

Where :

  • task is parameter without a switch option which was passed to countdown.
  • status is sign if the countdown was terminated by pressing Ctrl+C.

Playing a sound at timeout

This function is not implemented but it can be achieved it different way. For example by defining an alias.

alias coutndown=`countdown "${@}" && mplayer --really-quiet ~/beep.mp3`

List of all options

-h, --help                output usage information
-V, --version             output the version number
-c, --cycle-count <n>     number of countdown intervals (default 25)
-d, --digits <n>          number of places for digits (default 4)
-e, --hide-end-text       disable timeout text when time expires
-i, --interval <n>        set a length of time interval in millis (default 60 sec)
-o, --output-file [name]  file to append output
-s, --start-time          shows timer start time

Fonts

http://patorjk.com/software/taag/#p=display&h=1&v=3&f=Small&t=Pomodoro

0.0.15

7 years ago

0.0.13

8 years ago

0.0.12

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago