{"id":13583289,"url":"https://github.com/sindresorhus/pretty-ms-cli","last_synced_at":"2025-10-19T19:30:50.180Z","repository":{"id":35470830,"uuid":"39739137","full_name":"sindresorhus/pretty-ms-cli","owner":"sindresorhus","description":"Convert milliseconds to a human readable string: 1337000000 → 15d 11h 23m 20s","archived":false,"fork":false,"pushed_at":"2024-05-02T18:05:23.000Z","size":7,"stargazers_count":27,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-05-22T18:04:21.060Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sindresorhus.png","metadata":{"funding":{"github":"sindresorhus","open_collective":"sindresorhus","buy_me_a_coffee":"sindresorhus","custom":"https://sindresorhus.com/donate"},"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-07-26T19:39:21.000Z","updated_at":"2024-05-02T18:05:26.000Z","dependencies_parsed_at":"2024-05-12T06:45:14.451Z","dependency_job_id":null,"html_url":"https://github.com/sindresorhus/pretty-ms-cli","commit_stats":{"total_commits":7,"total_committers":2,"mean_commits":3.5,"dds":0.1428571428571429,"last_synced_commit":"c0541624b71a87b39e2684e22a5567e6924fa984"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fpretty-ms-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fpretty-ms-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fpretty-ms-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sindresorhus%2Fpretty-ms-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sindresorhus","download_url":"https://codeload.github.com/sindresorhus/pretty-ms-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219869272,"owners_count":16555575,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T15:03:22.961Z","updated_at":"2025-10-19T19:30:44.917Z","avatar_url":"https://github.com/sindresorhus.png","language":"JavaScript","readme":"# pretty-ms-cli\n\n\u003e Convert milliseconds to a human readable string: `1337000000` → `15d 11h 23m 20s`\n\n## Install\n\n```sh\nnpm install --global pretty-ms-cli\n```\n\n## Usage\n\n```\n$ pretty-ms --help\n\n  Usage\n    $ pretty-ms \u003cmilliseconds\u003e [--compact] [--verbose] [--seconds-decimal-digits=\u003cnumber\u003e]\n    echo \u003cmilliseconds\u003e | pretty-ms\n\n  Options\n    -c, --compact                 Only show the first part\n    -v, --verbose                 Use full-length units\n    -d, --seconds-decimal-digits  Number of digits to appear after the seconds decimal point\n\n  Examples\n    $ pretty-ms 1337\n    1.3s\n    $ pretty-ms 1337 --verbose\n    1.3 seconds\n    $ pretty-ms 1337 --compact\n    ~1s\n    $ pretty-ms 1337 --seconds-decimal-digits=4\n    1.3370s\n```\n\n## Related\n\n- [pretty-ms](https://github.com/sindresorhus/pretty-ms) - API for this package\n","funding_links":["https://github.com/sponsors/sindresorhus","https://opencollective.com/sindresorhus","https://buymeacoffee.com/sindresorhus","https://sindresorhus.com/donate"],"categories":["Other","JavaScript"],"sub_categories":["OS X"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fpretty-ms-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsindresorhus%2Fpretty-ms-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsindresorhus%2Fpretty-ms-cli/lists"}