{"id":15632030,"url":"https://github.com/ianwalter/timer","last_synced_at":"2025-04-30T03:49:31.507Z","repository":{"id":35034395,"uuid":"198918551","full_name":"ianwalter/timer","owner":"ianwalter","description":"A high resolution timer that returns the duration in a format thats easy for humans to understand","archived":false,"fork":false,"pushed_at":"2023-09-29T19:57:01.000Z","size":313,"stargazers_count":2,"open_issues_count":16,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-21T08:44:36.641Z","etag":null,"topics":["duration","high-resolution","timer"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ianwalter.png","metadata":{"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":"2019-07-26T00:27:19.000Z","updated_at":"2023-03-14T23:10:12.000Z","dependencies_parsed_at":"2023-01-15T12:27:23.437Z","dependency_job_id":"a1b5444c-14df-4e73-97d1-cf5d720a5aa5","html_url":"https://github.com/ianwalter/timer","commit_stats":{"total_commits":91,"total_committers":3,"mean_commits":"30.333333333333332","dds":"0.21978021978021978","last_synced_commit":"1e9cd05835f93e4d1568bf70b41094d6e0385d8c"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianwalter%2Ftimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianwalter%2Ftimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianwalter%2Ftimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ianwalter%2Ftimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ianwalter","download_url":"https://codeload.github.com/ianwalter/timer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250761461,"owners_count":21482982,"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":["duration","high-resolution","timer"],"created_at":"2024-10-03T10:42:25.151Z","updated_at":"2025-04-30T03:49:31.488Z","avatar_url":"https://github.com/ianwalter.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @ianwalter/timer\n\u003e A high resolution timer that returns the duration in a format thats easy for\n\u003e humans to understand\n\n[![npm page][npmImage]][npmUrl]\n\n## Installation\n\n```console\nyarn add @ianwalter/timer\n```\n\n## Usage\n\n```js\nconst createTimer = require('@ianwalter/timer')\nconst timer = createTimer()\n// Call stop() or duration() or both.\nconst milliseconds = timer.stop()\nconst duration = timer.duration()\n// timer.time =\u003e [2, 506289527]\n// milliseconds =\u003e 2506.29\n// duration =\u003e 2s 506.29ms\n```\n\n## License\n\nApache 2.0 with Commons Clause - See [LICENSE][licenseUrl]\n\n\u0026nbsp;\n\nCreated by [Ian Walter](https://iankwalter.com)\n\n[npmImage]: https://img.shields.io/npm/v/@ianwalter/timer.svg\n[npmUrl]: https://www.npmjs.com/package/@ianwalter/timer\n[licenseUrl]: https://github.com/ianwalter/timer/blob/master/LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianwalter%2Ftimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fianwalter%2Ftimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fianwalter%2Ftimer/lists"}