{"id":24770274,"url":"https://github.com/voodoocreation/md-stats","last_synced_at":"2026-04-13T01:34:13.399Z","repository":{"id":53232069,"uuid":"276794219","full_name":"voodoocreation/md-stats","owner":"voodoocreation","description":"A tool to report on statistics for Markdown file content within a folder (recursively).","archived":false,"fork":false,"pushed_at":"2023-07-14T20:34:35.000Z","size":23,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-12T20:03:23.289Z","etag":null,"topics":["cli","command","command-line","count","docs","documentation","markdown","node","report","script","scripts","statistics","stats","word","word-count","wordcount"],"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/voodoocreation.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-07-03T03:00:41.000Z","updated_at":"2023-03-31T01:07:06.000Z","dependencies_parsed_at":"2025-03-23T19:41:30.903Z","dependency_job_id":"fc17c2a5-8e47-4818-a5d8-e1e37a9a9f8c","html_url":"https://github.com/voodoocreation/md-stats","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/voodoocreation/md-stats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voodoocreation%2Fmd-stats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voodoocreation%2Fmd-stats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voodoocreation%2Fmd-stats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voodoocreation%2Fmd-stats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/voodoocreation","download_url":"https://codeload.github.com/voodoocreation/md-stats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/voodoocreation%2Fmd-stats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31736723,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T22:19:12.206Z","status":"ssl_error","status_checked_at":"2026-04-12T22:18:33.088Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["cli","command","command-line","count","docs","documentation","markdown","node","report","script","scripts","statistics","stats","word","word-count","wordcount"],"created_at":"2025-01-29T03:03:48.867Z","updated_at":"2026-04-13T01:34:13.383Z","avatar_url":"https://github.com/voodoocreation.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Markdown Stats\n==============\n\nA simple tool to report on statistics of Markdown file content within the given directory (recursively).\n\nUseful for reporting how much documentation exists within a project.\n\nAvailable stats are:\n  - Markdown file count\n  - character count\n  - word count\n\n\nUsage\n-----\n\n### CLI\nIf the directory is omitted, it will run for the current directory.\n\nIf the `--verbose` flag is present, it will also display stats on a per-file basis.\n\n#### Example\n```shell script\nnpx md-stats ./path/to/files --verbose\n```\n\n### Node.js\nThe exported function can also be used in a Node.js environment, which will return the raw data.\n\n#### Example\n```javascript\nconst getMarkdownStats = require(\"md-stats\");\n\nconst stats = await getMarkdownStats(\"./path/to/files\");\n```\n\nThe data returned is in the following format:\n```\n{\n  characters: number,\n  words: number,\n  files: [\n    {\n      name: string,\n      characters: number,\n      words: number\n    }\n  ]\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoodoocreation%2Fmd-stats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvoodoocreation%2Fmd-stats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvoodoocreation%2Fmd-stats/lists"}