{"id":21272813,"url":"https://github.com/marcells/bloggy-reading-speed","last_synced_at":"2025-03-15T12:25:47.914Z","repository":{"id":17557988,"uuid":"20360933","full_name":"marcells/bloggy-reading-speed","owner":"marcells","description":"A reading speed calculator for blog posts in bloggy, a small and lightweight blog engine for node.js","archived":false,"fork":false,"pushed_at":"2015-12-14T22:54:36.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-22T11:32:49.804Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/marcells.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":"2014-05-31T17:19:35.000Z","updated_at":"2017-02-24T13:23:11.000Z","dependencies_parsed_at":"2022-07-26T18:15:11.697Z","dependency_job_id":null,"html_url":"https://github.com/marcells/bloggy-reading-speed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcells%2Fbloggy-reading-speed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcells%2Fbloggy-reading-speed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcells%2Fbloggy-reading-speed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcells%2Fbloggy-reading-speed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcells","download_url":"https://codeload.github.com/marcells/bloggy-reading-speed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243728451,"owners_count":20338261,"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-11-21T09:09:33.102Z","updated_at":"2025-03-15T12:25:47.890Z","avatar_url":"https://github.com/marcells.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bloggy-reading-speed\n\n\u003e A reading speed calculator for blog posts in bloggy, a small and lightweight blog engine for node.js.\n\n## Quickstart\n\nThat's everything you need. Just call the `engine.extendWith()` function of the bloggy engine. But please ensure to register bloggy-reading-speed with `extendWith()` __after__ you've registerd a rendering engine like `bloggy-marked`.\n\n```Javascript\nvar engine = require('bloggy')();\n\nengine.extendWith(require('bloggy-reading-speed'));\n```\n\nAfter the content of a blog entry is read, it has to new fields.\n- `numberOfWords` contains the number of words\n- `readingSpeed` contains the needed time in seconds to read the article\n\n## Additional options\n\nYou're able to change the following settings.\n\n```Javascript\nvar engine = require('bloggy')(),\n    bloggyReadingSpeed = require('bloggy-reading-speed');\n\n// Shown values are the default values\nbloggyReadingSpeed.wordsPerMinute = 200;       \t\t\t// The average words per minute of your reader\nbloggyReadingSpeed.countWords = function (content) {  \t// You are able to override the logic, how words are count\n\treturn [number of words];\n};\n\nengine.extendWith(bloggyReadingSpeed);\n\n```\n\nLicense\n-------\n\nThe MIT License (MIT)\n\nCopyright (c) 2014 Marcell Spies\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcells%2Fbloggy-reading-speed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcells%2Fbloggy-reading-speed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcells%2Fbloggy-reading-speed/lists"}