{"id":13394329,"url":"https://github.com/vutran/twas","last_synced_at":"2025-09-13T10:37:08.805Z","repository":{"id":38050493,"uuid":"118822149","full_name":"vutran/twas","owner":"vutran","description":"🕰 Tiny (280B) relative time string function (eg: \"3 seconds ago\")","archived":false,"fork":false,"pushed_at":"2023-02-08T19:33:53.000Z","size":512,"stargazers_count":250,"open_issues_count":0,"forks_count":10,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-09-08T07:52:06.359Z","etag":null,"topics":["ago","from-now","relative","time","timeago"],"latest_commit_sha":null,"homepage":"","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/vutran.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-01-24T21:06:48.000Z","updated_at":"2025-06-08T03:44:25.000Z","dependencies_parsed_at":"2022-09-11T19:32:00.973Z","dependency_job_id":"a909f131-9780-438d-a80b-372b5b3c90f9","html_url":"https://github.com/vutran/twas","commit_stats":{"total_commits":51,"total_committers":7,"mean_commits":7.285714285714286,"dds":"0.23529411764705888","last_synced_commit":"dce248041cb6695577585a987ffff8cd571525d0"},"previous_names":[],"tags_count":14,"template":false,"template_full_name":null,"purl":"pkg:github/vutran/twas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Ftwas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Ftwas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Ftwas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Ftwas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vutran","download_url":"https://codeload.github.com/vutran/twas/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vutran%2Ftwas/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274949583,"owners_count":25379446,"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-13T02:00:10.085Z","response_time":70,"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"}},"keywords":["ago","from-now","relative","time","timeago"],"created_at":"2024-07-30T17:01:16.215Z","updated_at":"2025-09-13T10:37:08.754Z","avatar_url":"https://github.com/vutran.png","language":"JavaScript","readme":"# twas\n\n[![Coveralls branch](https://img.shields.io/coveralls/vutran/twas/master.svg?maxAge=2592000\u0026style=flat-square)](https://coveralls.io/github/vutran/twas) [![license](https://img.shields.io/github/license/vutran/twas.svg?maxAge=2592000\u0026style=flat-square)](LICENSE)\n\n\u003e Tiny (280B) relative time string function (eg: \"3 seconds ago\")\n\n## Install\n\n```bash\n$ npm i -S twas\n```\n\n## Usage\n\n```js\nimport twas from 'twas';\n\nconsole.log(twas(Date.now() - (5 * 1000));\n\n// -\u003e 5 seconds ago\n```\n\n## License\n\nMIT © [Vu Tran](https://github.com/vutran)\n","funding_links":[],"categories":["JavaScript","Modules","模块"],"sub_categories":["Date \u0026 Time","日期和时间"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvutran%2Ftwas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvutran%2Ftwas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvutran%2Ftwas/lists"}