A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/sindresorhus/pretty-ms-cli below:

sindresorhus/pretty-ms-cli: Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s

Convert milliseconds to a human readable string: 133700000015d 11h 23m 20s

npm install --global pretty-ms-cli
$ pretty-ms --help

  Usage
    $ pretty-ms <milliseconds> [--compact] [--verbose] [--seconds-decimal-digits=<number>]
    echo <milliseconds> | pretty-ms

  Options
    -c, --compact                 Only show the first part
    -v, --verbose                 Use full-length units
    -d, --seconds-decimal-digits  Number of digits to appear after the seconds decimal point

  Examples
    $ pretty-ms 1337
    1.3s
    $ pretty-ms 1337 --verbose
    1.3 seconds
    $ pretty-ms 1337 --compact
    ~1s
    $ pretty-ms 1337 --seconds-decimal-digits=4
    1.3370s

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4