{"id":2462652,"name":"timeago-react","ecosystem":"npm","description":"timeago-react is a simple(only 1kb) react component used to format date with `*** time ago` statement. eg: '3 hours ago'.","homepage":"https://github.com/hustcc/timeago-react","licenses":"MIT","normalized_licenses":["MIT"],"repository_url":"https://github.com/hustcc/timeago-react","keywords_array":["react","component","timeago-react","react-timeago","timeago.js","timeago","react-component"],"namespace":null,"versions_count":21,"first_release_published_at":"2016-08-08T02:52:35.511Z","latest_release_published_at":"2025-03-04T01:19:23.167Z","latest_release_number":"3.0.7","last_synced_at":"2026-09-11T19:43:23.518Z","created_at":"2022-04-10T02:08:43.885Z","updated_at":"2026-09-11T19:43:23.518Z","registry_url":"https://www.npmjs.com/package/timeago-react","install_command":"npm install timeago-react","documentation_url":null,"metadata":{"funding":null,"dist-tags":{"latest":"3.0.7"},"contentPolicy":null},"repo_metadata":{"id":10272277,"uuid":"65169393","full_name":"hustcc/timeago-react","owner":"hustcc","description":":clock8: Simple and efficient react component to format date with `*** time ago` statement. eg: '3 hours ago'.","archived":false,"fork":false,"pushed_at":"2026-09-09T00:13:05.000Z","size":1570,"stargazers_count":433,"open_issues_count":9,"forks_count":23,"subscribers_count":4,"default_branch":"master","last_synced_at":"2026-09-09T22:09:52.419Z","etag":null,"topics":["date-format","javascript","react-component","react-timeago","timeago","timeago-react"],"latest_commit_sha":null,"homepage":"https://git.hust.cc/timeago-react","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/hustcc.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,"zenodo":null}},"created_at":"2016-08-08T03:23:03.000Z","updated_at":"2026-09-03T01:55:35.000Z","dependencies_parsed_at":"2024-06-18T12:38:16.537Z","dependency_job_id":"9bb64ace-4e76-48fe-bc15-a7fc27bd36f3","html_url":"https://github.com/hustcc/timeago-react","commit_stats":{"total_commits":56,"total_committers":16,"mean_commits":3.5,"dds":0.7321428571428572,"last_synced_commit":"cd5897689b69d3190735c9d59d314a75706d5bb7"},"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/hustcc/timeago-react","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hustcc","download_url":"https://codeload.github.com/hustcc/timeago-react/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/sbom","scorecard":{"id":474040,"data":{"date":"2025-08-11","repo":{"name":"github.com/hustcc/timeago-react","commit":"dfdea531152c100a2fffbf28a81d5be175758753"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Code-Review","score":2,"reason":"Found 7/27 approved changesets -- score normalized to 2","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":"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":"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":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/ci.yml:1","Warn: no topLevel permission defined: .github/workflows/demo.yml:1","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":"Pinned-Dependencies","score":4,"reason":"dependency not pinned by hash detected -- score normalized to 4","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/timeago-react/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ci.yml:18: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/timeago-react/ci.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/ci.yml:32: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/timeago-react/ci.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/demo.yml:13: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/timeago-react/demo.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/demo.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/timeago-react/demo.yml/master?enable=pin","Warn: third-party GitHubAction not pinned by hash: .github/workflows/demo.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/hustcc/timeago-react/demo.yml/master?enable=pin","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   2 third-party GitHubAction dependencies pinned","Info:   2 out of   2 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:0","Info: FSF or OSI recognized license: MIT License: LICENSE: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":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 11 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":1,"reason":"9 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-xffm-g5w8-qvg7","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-x574-m823-4x7w","Warn: Project is vulnerable to: GHSA-4r4m-qw57-chr8","Warn: Project is vulnerable to: GHSA-xcj6-pq6g-qj4x","Warn: Project is vulnerable to: GHSA-356w-63v5-8wf4","Warn: Project is vulnerable to: GHSA-859w-5945-r5v3"],"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-19T14:47:12.207Z","repository_id":10272277,"created_at":"2025-08-19T14:47:12.207Z","updated_at":"2025-08-19T14:47:12.207Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":341189360,"owners_count":37222345,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-08-22T15:14:58.755Z","status":"online","status_checked_at":"2026-09-11T02:00:05.857Z","response_time":56,"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":"hustcc","name":"hustcc","uuid":"7856674","kind":"user","description":"@alipay 内推，参入可视化开源项目，请加个人微信：AnyPlot。","email":"","website":"https://hust.cc","location":"HangZhou, China","twitter":null,"company":"CN","icon_url":"https://avatars.githubusercontent.com/u/7856674?u=2a891a2bf8cc56692c38acb15e5048c80534c8e5\u0026v=4","repositories_count":88,"last_synced_at":"2023-04-09T14:21:21.887Z","metadata":{"has_sponsors_listing":false},"html_url":"https://github.com/hustcc","funding_links":[],"total_stars":null,"followers":null,"following":null,"created_at":"2022-11-02T16:27:33.038Z","updated_at":"2023-04-09T14:21:22.432Z","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hustcc","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hustcc/repositories"},"tags":[{"name":"v3.0.7","sha":"05f98b6add43afff22f4365f43e7bf67efa79210","kind":"tag","published_at":"2025-03-04T01:16:27.000Z","download_url":"https://codeload.github.com/hustcc/timeago-react/tar.gz/v3.0.7","html_url":"https://github.com/hustcc/timeago-react/releases/tag/v3.0.7","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hustcc/timeago-react@v3.0.7","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v3.0.7","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v3.0.7/manifests"},{"name":"v3.0.4","sha":"a2c45e013fb138d03e300e9e38bc4ce1301a7faa","kind":"tag","published_at":"2021-09-22T06:10:58.000Z","download_url":"https://codeload.github.com/hustcc/timeago-react/tar.gz/v3.0.4","html_url":"https://github.com/hustcc/timeago-react/releases/tag/v3.0.4","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hustcc/timeago-react@v3.0.4","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v3.0.4","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v3.0.4/manifests"},{"name":"v3.0.3","sha":"8ab23df9d1b74402ecd34fad905841f18d61a588","kind":"tag","published_at":"2021-07-05T14:53:17.000Z","download_url":"https://codeload.github.com/hustcc/timeago-react/tar.gz/v3.0.3","html_url":"https://github.com/hustcc/timeago-react/releases/tag/v3.0.3","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hustcc/timeago-react@v3.0.3","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v3.0.3","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v3.0.3/manifests"},{"name":"v3.0.0","sha":"ffef1df0f52b4cbc68076e09eb4f3f4c9c570d22","kind":"commit","published_at":"2019-11-11T02:09:28.000Z","download_url":"https://codeload.github.com/hustcc/timeago-react/tar.gz/v3.0.0","html_url":"https://github.com/hustcc/timeago-react/releases/tag/v3.0.0","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hustcc/timeago-react@v3.0.0","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v3.0.0","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v3.0.0/manifests"},{"name":"v1.2.2","sha":"eacf53cadc0e6aa89b36c3bf0929a5aee1beda65","kind":"commit","published_at":"2017-06-08T01:11:27.000Z","download_url":"https://codeload.github.com/hustcc/timeago-react/tar.gz/v1.2.2","html_url":"https://github.com/hustcc/timeago-react/releases/tag/v1.2.2","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hustcc/timeago-react@v1.2.2","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v1.2.2","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v1.2.2/manifests"},{"name":"v1.0.8","sha":"67203a161f4da0979eaadae48279d3e525d34985","kind":"commit","published_at":"2017-02-11T02:18:08.000Z","download_url":"https://codeload.github.com/hustcc/timeago-react/tar.gz/v1.0.8","html_url":"https://github.com/hustcc/timeago-react/releases/tag/v1.0.8","dependencies_parsed_at":null,"dependency_job_id":null,"purl":"pkg:github/hustcc/timeago-react@v1.0.8","tag_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v1.0.8","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/tags/v1.0.8/manifests"}]},"repo_metadata_updated_at":"2026-09-11T16:59:30.604Z","dependent_packages_count":75,"downloads":233181,"downloads_period":"last-month","dependent_repos_count":679,"rankings":{"downloads":0.7405635642726378,"dependent_repos_count":0.7128692953213013,"dependent_packages_count":0.4486636968485737,"stargazers_count":3.276678585206637,"forks_count":5.129373947703184,"docker_downloads_count":0.911128922457015,"average":1.8698796686348915},"purl":"pkg:npm/timeago-react","advisories":[],"docker_usage_url":"https://docker.ecosyste.ms/usage/npm/timeago-react","docker_dependents_count":14,"docker_downloads_count":2826,"usage_url":"https://repos.ecosyste.ms/usage/npm/timeago-react","dependent_repositories_url":"https://repos.ecosyste.ms/api/v1/usage/npm/timeago-react/dependencies","status":null,"funding_links":[],"critical":null,"issue_metadata":{"last_synced_at":"2026-09-10T07:01:03.993Z","issues_count":30,"pull_requests_count":37,"avg_time_to_close_issue":4314888.107142857,"avg_time_to_close_pull_request":934278.0294117647,"issues_closed_count":28,"pull_requests_closed_count":34,"pull_request_authors_count":15,"issue_authors_count":29,"avg_comments_per_issue":2.3,"avg_comments_per_pull_request":1.864864864864865,"merged_pull_requests_count":17,"bot_issues_count":0,"bot_pull_requests_count":15,"past_year_issues_count":0,"past_year_pull_requests_count":2,"past_year_avg_time_to_close_issue":null,"past_year_avg_time_to_close_pull_request":959256.0,"past_year_issues_closed_count":0,"past_year_pull_requests_closed_count":1,"past_year_pull_request_authors_count":1,"past_year_issue_authors_count":0,"past_year_avg_comments_per_issue":null,"past_year_avg_comments_per_pull_request":0.5,"past_year_bot_issues_count":0,"past_year_bot_pull_requests_count":2,"past_year_merged_pull_requests_count":0,"issues_url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/repositories/hustcc%2Ftimeago-react/issues","maintainers":[{"login":"alanwei0","count":3,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/alanwei0"},{"login":"domdomegg","count":2,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/domdomegg"},{"login":"hustcc","count":1,"url":"https://issues.ecosyste.ms/api/v1/hosts/GitHub/authors/hustcc"}],"active_maintainers":[]},"versions_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/timeago-react/versions","version_numbers_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/timeago-react/version_numbers","latest_version_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/timeago-react/latest_version","dependent_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/timeago-react/dependent_packages","related_packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/timeago-react/related_packages","codemeta_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/packages/timeago-react/codemeta","maintainers":[{"uuid":"atool","login":"atool","name":null,"email":"i@hust.cc","url":null,"packages_count":557,"html_url":"https://www.npmjs.com/~atool","role":null,"created_at":"2022-11-15T00:52:59.274Z","updated_at":"2022-11-15T00:52:59.274Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/atool/packages"},{"uuid":"domdomegg","login":"domdomegg","name":null,"email":"jones_adam@rocketmail.com","url":null,"packages_count":58,"html_url":"https://www.npmjs.com/~domdomegg","role":null,"created_at":"2026-02-10T21:41:33.075Z","updated_at":"2026-02-10T21:41:33.075Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/domdomegg/packages"},{"uuid":"alanwei0","login":"alanwei0","name":null,"email":"alanwei000@gmail.com","url":null,"packages_count":6,"html_url":"https://www.npmjs.com/~alanwei0","role":null,"created_at":"2022-11-15T00:52:59.325Z","updated_at":"2022-11-15T00:52:59.325Z","packages_url":"https://packages.ecosyste.ms/api/v1/registries/npmjs.org/maintainers/alanwei0/packages"}]}