{"id":15724950,"url":"https://github.com/ecto/node-timeago","last_synced_at":"2025-07-08T18:37:48.669Z","repository":{"id":65756930,"uuid":"2527143","full_name":"ecto/node-timeago","owner":"ecto","description":":clock9: Humanized time for node apps","archived":false,"fork":false,"pushed_at":"2014-09-30T19:59:06.000Z","size":150,"stargazers_count":45,"open_issues_count":4,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-06-09T04:43:33.374Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecto.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-10-06T16:37:27.000Z","updated_at":"2025-03-13T13:47:13.000Z","dependencies_parsed_at":"2023-02-08T11:15:15.366Z","dependency_job_id":null,"html_url":"https://github.com/ecto/node-timeago","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ecto/node-timeago","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-timeago","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-timeago/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-timeago/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-timeago/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecto","download_url":"https://codeload.github.com/ecto/node-timeago/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecto%2Fnode-timeago/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264324674,"owners_count":23590934,"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":[],"created_at":"2024-10-03T22:18:29.852Z","updated_at":"2025-07-08T18:37:48.651Z","avatar_url":"https://github.com/ecto.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# timeago\n\nA wrapper for Ryan McGeary's [jQuery plugin](http://timeago.yarp.com/).\n\n![timeago](http://i.imgur.com/W1Zwy.png)\n\n#install\n\n    npm install timeago\n\n#usage\n\n````javascript\nvar timeago = require('timeago');\n\nvar pretty = timeago(+new Date());\n\nconsole.log(pretty); // just now\n````\n\nYou can also use it in Express app templates:\n\n````javascript\nvar app = express.createServer();\n\napp.helpers({\n  timeago: require('timeago')\n});\n````\n\n````ejs\n\u003cdiv class=\"timeago\"\u003e\u003c%- timeago(widget.created) %\u003e\u003c/div\u003e\n````\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecto%2Fnode-timeago","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecto%2Fnode-timeago","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecto%2Fnode-timeago/lists"}