countdown-file

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i countdown-file

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

3.97 kB

Total Files

4

Last publish

Collaborators

  • insin