{"id":15397015,"url":"https://github.com/ryanhefner/quiktime","last_synced_at":"2026-05-19T10:31:00.281Z","repository":{"id":41370959,"uuid":"509284381","full_name":"ryanhefner/quiktime","owner":"ryanhefner","description":"⏱ Quickly format duration time values in a condensed format.","archived":false,"fork":false,"pushed_at":"2022-07-07T04:09:56.000Z","size":101,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-03T17:46:27.026Z","etag":null,"topics":["npm-package","time-formatting"],"latest_commit_sha":null,"homepage":"https://www.pkgstats.com/pkg:quiktime","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/ryanhefner.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"github":"ryanhefner","patreon":"ryanhefner","open_collective":"ryanhefner","ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"custom":null}},"created_at":"2022-07-01T01:34:41.000Z","updated_at":"2023-03-04T04:12:37.000Z","dependencies_parsed_at":"2022-07-30T07:17:57.871Z","dependency_job_id":null,"html_url":"https://github.com/ryanhefner/quiktime","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":"ryanhefner/package-template-rollup","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanhefner%2Fquiktime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanhefner%2Fquiktime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanhefner%2Fquiktime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanhefner%2Fquiktime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanhefner","download_url":"https://codeload.github.com/ryanhefner/quiktime/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245944109,"owners_count":20697960,"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":["npm-package","time-formatting"],"created_at":"2024-10-01T15:35:50.176Z","updated_at":"2026-05-19T10:30:55.244Z","avatar_url":"https://github.com/ryanhefner.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ryanhefner","https://patreon.com/ryanhefner","https://opencollective.com/ryanhefner"],"categories":[],"sub_categories":[],"readme":"# ⏱ quiktime\n\n[![npm](https://img.shields.io/npm/v/quiktime?style=flat-square)](https://www.pkgstats.com/pkg:quiktime)\n[![NPM](https://img.shields.io/npm/l/quiktime?style=flat-square)](LICENSE)\n[![npm](https://img.shields.io/npm/dt/quiktime?style=flat-square)](https://www.pkgstats.com/pkg:quiktime)\n[![Coveralls github](https://img.shields.io/coveralls/github/ryanhefner/quiktime?style=flat-square)](https://coveralls.io/github/ryanhefner/quiktime)\n[![codecov](https://codecov.io/gh/ryanhefner/quiktime/branch/main/graph/badge.svg)](https://codecov.io/gh/ryanhefner/quiktime)\n[![CircleCI](https://img.shields.io/circleci/build/github/ryanhefner/quiktime?style=flat-square)](https://circleci.com/gh/ryanhefner/quiktime)\n![Snyk Vulnerabilities for GitHub Repo](https://img.shields.io/snyk/vulnerabilities/github/ryanhefner/quiktime?style=flat-square)\n\nQuickly format duration time values in a condensed format.\n\n## Install\n\nVia [npm](https://npmjs.com/package/quiktime)\n\n```sh\nnpm install quiktime\n```\n\nVia [Yarn](https://yarn.pm/quiktime)\n\n```sh\nyarn add quiktime\n```\n\n## How to use\n\n**Without Options**\n```\nimport quiktime from 'quiktime'\n\nconsole.debug(quiktime(1200))\n\n===\n\nOutput: 1.2 ms\n\n```\n\n**With Options**\n```\nimport quiktime from 'quiktime`\n\nconsole.debug(quiktime(1234, { maximumFractionDigits: 3 }))\n\n===\n\nOutput: 1.234 ms\n```\n\n### Options\n\n* `minimumIntegerDigits: number` - The minimum number of integer digits to use. Possible values are from `1` to `21`; the default is `1`.\n* `minimumFractionDigits: number` - The minimum number of fraction digits to use. Possible values are from `0` to `20`; the default is `0`.\n* `maximumFractionDigits: number` - The maximum number of fraction digits to use. Possible values are from `0` to `20`; the default is `2`\n\n## License\n\n[MIT](LICENSE) © [Ryan Hefner](https://www.ryanhefner.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanhefner%2Fquiktime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanhefner%2Fquiktime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanhefner%2Fquiktime/lists"}