{"id":19340550,"url":"https://github.com/ierhyna/hexo-reading-time","last_synced_at":"2025-07-14T03:33:40.799Z","repository":{"id":57263602,"uuid":"69759947","full_name":"ierhyna/hexo-reading-time","owner":"ierhyna","description":"Plugin for Hexo CMS to display reading time for article","archived":false,"fork":false,"pushed_at":"2019-12-01T20:53:30.000Z","size":10,"stargazers_count":30,"open_issues_count":1,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-05T16:47:31.286Z","etag":null,"topics":["hexo","hexo-plugin"],"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/ierhyna.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}},"created_at":"2016-10-01T19:48:45.000Z","updated_at":"2025-01-23T02:25:06.000Z","dependencies_parsed_at":"2022-08-25T02:51:45.999Z","dependency_job_id":null,"html_url":"https://github.com/ierhyna/hexo-reading-time","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ierhyna/hexo-reading-time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ierhyna%2Fhexo-reading-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ierhyna%2Fhexo-reading-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ierhyna%2Fhexo-reading-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ierhyna%2Fhexo-reading-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ierhyna","download_url":"https://codeload.github.com/ierhyna/hexo-reading-time/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ierhyna%2Fhexo-reading-time/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265237696,"owners_count":23732514,"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":["hexo","hexo-plugin"],"created_at":"2024-11-10T03:26:56.698Z","updated_at":"2025-07-14T03:33:40.704Z","avatar_url":"https://github.com/ierhyna.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![NPM Version](https://img.shields.io/npm/v/hexo-reading-time.svg)](https://www.npmjs.com/package/hexo-reading-time)\n\n# hexo-reading-time\n[Hexo](https://hexo.io/) plugin that displays reading time for the article.\n\n## Installation\n\n```\nnpm install --save hexo-reading-time\n```\n\n## Usage\n### Basic Usage\n\nTo display reading time, add the function into `post.ejs`.\n\nEjs:\n```\n\u003c%- readingTime(page.content) %\u003e\n```\nSwig:\n```\n{{ readingTime(page.content) }}\n```\nJade:\n```\nspan= readingTime(page.content)\n```\n\nIt will display `X min. read`.\n\n### Customization\n\nYou can customize the output by passing additional arguments.\n\nEjs:\n```\n\u003c%- readingTime(page.content, 'min.', wordsperminute) %\u003e\n```\nSwig:\n```\n{{ readingTime(page.content, 'min.', wordsperminute) }}\n```\nJade:\n```\nspan= readingTime(page.content, 'min.', wordsperminute)\n```\n\nWhere:  \n `'min.'` - second argument - any string that represents suffix. Default is 'min. read'  \n `wpm` - number - words per minute. Default is 150.  \n Both arguments are optional.  \n\n## License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fierhyna%2Fhexo-reading-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fierhyna%2Fhexo-reading-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fierhyna%2Fhexo-reading-time/lists"}