{"id":2279954,"name":"react-use-precision-timer","ecosystem":"npm","description":"A versatile precision timer hook for React. Doubles as a stopwatch.","homepage":"https://justinmahar.github.io/react-use-precision-timer/","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/justinmahar/react-use-precision-timer","keywords_array":["react","timer","hook","hooks","stopwatch","stop","watch","delay","timeout","interval","setTimeout","setInterval","pause","resume","accurate","effect"],"namespace":null,"versions_count":50,"first_release_published_at":"2020-05-02T19:27:12.837Z","latest_release_published_at":"2025-02-18T02:10:45.450Z","latest_release_number":"3.5.6","last_synced_at":"2026-04-16T10:01:49.771Z","created_at":"2022-04-09T23:33:39.034Z","updated_at":"2026-04-16T10:30:19.603Z","registry_url":"https://www.npmjs.com/package/react-use-precision-timer","install_command":"npm install react-use-precision-timer","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.5.6"}},"repo_metadata":{"id":37613101,"uuid":"260742123","full_name":"justinmahar/react-use-precision-timer","owner":"justinmahar","description":"⏱️ A versatile precision timer hook for React. Doubles as a stopwatch.","archived":false,"fork":false,"pushed_at":"2025-02-18T02:11:54.000Z","size":21823,"stargazers_count":69,"open_issues_count":9,"forks_count":7,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-18T04:56:13.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://justinmahar.github.io/react-use-precision-timer/","language":"TypeScript","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/justinmahar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE.md","code_of_conduct":"CODE_OF_CONDUCT.md","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},"funding":{"github":"justinmahar","custom":"https://www.paypal.com/paypalme/thejustinmahar/5"}},"created_at":"2020-05-02T17:45:48.000Z","updated_at":"2025-08-05T05:40:18.000Z","dependencies_parsed_at":"2024-06-18T18:33:34.283Z","dependency_job_id":"02f5446e-42a8-46da-87cc-2c9bede5c8a8","html_url":"https://github.com/justinmahar/react-use-precision-timer","commit_stats":{"total_commits":139,"total_committers":4,"mean_commits":34.75,"dds":"0.17985611510791366","last_synced_commit":"fd2fd8600834b791acca9cf6a823ab681b1e1794"},"previous_names":["devboldly/react-use-precision-timer"],"tags_count":0,"template":false,"template_full_name":"justinmahar/react-kindling","purl":"pkg:github/justinmahar/react-use-precision-timer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmahar%2Freact-use-precision-timer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmahar%2Freact-use-precision-timer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmahar%2Freact-use-precision-timer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmahar%2Freact-use-precision-timer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinmahar","download_url":"https://codeload.github.com/justinmahar/react-use-precision-timer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmahar%2Freact-use-precision-timer/sbom","scorecard":{"id":544053,"data":{"date":"2025-08-11","repo":{"name":"github.com/justinmahar/react-use-precision-timer","commit":"59a2bad58c5e2b7a7033e50586e153940f87b993"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: topLevel 'contents' permission set to 'write': .github/workflows/deploy.yml:11","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":5,"reason":"dependency not pinned by hash detected -- score normalized to 5","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/deploy.yml:17: update your workflow using https://app.stepsecurity.io/secureworkflow/justinmahar/react-use-precision-timer/deploy.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/deploy.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/justinmahar/react-use-precision-timer/deploy.yml/master?enable=pin","Info:   0 out of   1 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 third-party GitHubAction dependencies pinned","Info:   1 out of   1 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"27 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6","Warn: Project is vulnerable to: GHSA-67mh-4wv8-2f99","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22","Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-76c9-3jph-rj3q","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-w5hq-hm5m-4548","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-pq67-2wwv-3xjx","Warn: Project is vulnerable to: GHSA-8cj5-5rvv-wf4v","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-wr3j-pwj9-hqq6","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T08:59:21.749Z","repository_id":37613101,"created_at":"2025-08-20T08:59:21.749Z","updated_at":"2025-08-20T08:59:21.749Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276297406,"owners_count":25618236,"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","status":"online","status_checked_at":"2025-09-21T02:00:07.055Z","response_time":72,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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"},"owner_record":{"login":"justinmahar","name":"Justin Mahar","uuid":"3472836","kind":"user","description":"","email":"","website":"https://justinmahar.com/","location":"Charlotte, NC","twitter":null,"company":null,"icon_url":"https://avatars.githubusercontent.com/u/3472836?u=52682f5f928f818a9196eb032f4dcfb87a9db01f\u0026v=4","repositories_count":48,"last_synced_at":"2025-09-16T16:53:06.436Z","metadata":{"has_sponsors_listing":true},"html_url":"https://github.com/justinmahar","funding_links":["https://github.com/sponsors/justinmahar"],"total_stars":1034,"followers":35,"following":0,"created_at":"2022-11-04T21:15:34.575Z","updated_at":"2025-09-16T16:53:06.436Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinmahar","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justinmahar/repositories"},"tags":[]},"repo_metadata_updated_at":"2026-04-16T10:30:19.570Z","dependent_packages_count":6,"downloads":51038,"downloads_period":"last-month","dependent_repos_count":23,"rankings":{"downloads":1.9471318523761278,"dependent_repos_count":2.5765618734349016,"dependent_packages_count":3.152347083487224,"stargazers_count":6.270757004064818,"forks_count":8.203844383864054,"docker_downloads_count":null,"average":4.430128439445425},"purl":"pkg:npm/react-use-precision-timer","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/react-use-precision-timer","docker_dependents_count":null,"docker_downloads_count":null,"usage_url":"https://repos.ecosyste.ms/usage/npm/react-use-precision-timer","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/react-use-precision-timer/dependencies","status":null,"funding_links":["https://github.com/sponsors/justinmahar","https://www.paypal.com/paypalme/thejustinmahar/5"],"critical":null,"issue_metadata":{"last_synced_at":"2025-08-18T04:56:19.123Z","issues_count":16,"pull_requests_count":11,"avg_time_to_close_issue":9886138.777777778,"avg_time_to_close_pull_request":8858393.777777778,"issues_closed_count":9,"pull_requests_closed_count":9,"pull_request_authors_count":2,"issue_authors_count":14,"avg_comments_per_issue":2.0625,"avg_comments_per_pull_request":0.6363636363636364,"merged_pull_requests_count":3,"bot_issues_count":0,"bot_pull_requests_count":10,"past_year_issues_count":5,"past_year_pull_requests_count":0,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":null,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":0,"past_year_pull_request_authors_count":0,"past_year_issue_authors_count":5,"past_year_avg_comments_per_issue":1.2,"past_year_avg_comments_per_pull_request":null,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":0,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/justinmahar%2Freact-use-precision-timer/issues","maintainers":[{"login":"justinmahar","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/justinmahar"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-use-precision-timer/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-use-precision-timer/version_numbers","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-use-precision-timer/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-use-precision-timer/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/react-use-precision-timer/codemeta","maintainers":[{"uuid":"justinmahar","login":"justinmahar","name":null,"email":"contact@justinmahar.com","url":null,"packages_count":42,"html_url":"https://www.npmjs.com/~justinmahar","role":null,"created_at":"2022-11-19T22:56:59.609Z","updated_at":"2022-11-19T22:56:59.609Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/justinmahar/packages"}]}