Socket
Socket
Sign inDemoInstall

countdown-cli

Package Overview
Dependencies
13
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    countdown-cli

Simple countdown CLI app.


Version published
Weekly downloads
0
Maintainers
1
Install size
62.9 kB
Created
Weekly downloads
 

Readme

Source

countdown-cli

Simple countdown CLI app.

Installation

npm i -g countdown-cli

Quickstart

Output formatting options:

# Default:
λ countdown 30s
# => 00:00:30
# ...
# => 00:00:00

# Percent:
λ countdown 30s %
# => 100%
# ...
# => 0%

# Percent with more digits:
λ countdown 30s 2%
# => 100.00%
# ...
# => 0.00%

Possible input formats:

λ countdown 1h 20m 30s
# => 01:20:30

λ countdown 01:20:30
# => 01:20:30

λ countdown 20:30
# => 00:20:30

λ countdown 30
# => 00:00:30

λ countdown 1h 01:20:30
# => 02:20:30

λ countdown 30 20m
# => 00:20:30

λ countdown 62m
# => 01:02:00

License

WTFPL – Do What the F*ck You Want to Public License.

Made with :heart: by @MarkTiedemann.

Keywords

FAQs

Last updated on 19 Jul 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc