1.0.1 • Published 6 years ago

countdown-file v1.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

countdown-file

npm package

Writes a countdown to a text file every second.

Useful for streaming tools like OBS Studio, which has a text component which watches a file for contents.

Install

Installing globally gives you a countdown command:

npm install --global countdown-file

Usage

Usage: countdown <time> <output_file> [done_text]

Arguments:
  time         number of minutes or a time in mm:ss format
  output_file  file to write the countdown into
  done_text    (optional) text to display when the countdown is complete
               defaults to displaying nothing, hiding the countdown

MIT Licensed