{"id":19170495,"url":"https://github.com/jopemachine/get-gh-downloads","last_synced_at":"2026-05-18T02:34:59.362Z","repository":{"id":48068074,"uuid":"394146897","full_name":"jopemachine/get-gh-downloads","owner":"jopemachine","description":"Display github release download count in console (also include lib)","archived":false,"fork":false,"pushed_at":"2021-08-09T08:37:59.000Z","size":92,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T03:45:42.518Z","etag":null,"topics":["cli","download-counts","github"],"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/jopemachine.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":"2021-08-09T04:21:44.000Z","updated_at":"2022-11-17T07:22:27.000Z","dependencies_parsed_at":"2022-08-12T17:50:55.776Z","dependency_job_id":null,"html_url":"https://github.com/jopemachine/get-gh-downloads","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jopemachine/get-gh-downloads","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopemachine%2Fget-gh-downloads","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopemachine%2Fget-gh-downloads/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopemachine%2Fget-gh-downloads/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopemachine%2Fget-gh-downloads/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jopemachine","download_url":"https://codeload.github.com/jopemachine/get-gh-downloads/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jopemachine%2Fget-gh-downloads/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33162672,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"online","status_checked_at":"2026-05-18T02:00:06.436Z","response_time":71,"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":["cli","download-counts","github"],"created_at":"2024-11-09T09:54:08.412Z","updated_at":"2026-05-18T02:34:59.344Z","avatar_url":"https://github.com/jopemachine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# get-gh-downloads\n\n[![NPM download total](https://img.shields.io/npm/dt/get-gh-downloads)](http://badge.fury.io/js/get-gh-downloads)\n[![NPM version](https://badge.fury.io/js/get-gh-downloads.svg)](http://badge.fury.io/js/get-gh-downloads)\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](https://lbesson.mit-license.org/)\n\nDisplay github release download count in console (also include lib)\n\n![](./media/demo.png)\n\n## Usage\n\n```js\nconst getDownloadCount = require('get-gh-downloads');\n\nconst data = getDownloadCount({\n  userId,\n  repository,\n  tagName: 'v0.0.1'\n});\n```\n\n## Usage-cli\n\n```\n  Usage\n\n    $ get-gh-downloads [user_id] [repository_name] options\n\n  Options\n\n    $ name\n    $ tag\n    $ latest\n\n  Example:\n\n    $ get-gh-downloads jopemachine some-lib\n    $ get-gh-downloads jopemachine some-lib --name=0.0.1\n    $ get-gh-downloads jopemachine some-lib --tag=v0.0.1\n    $ get-gh-downloads jopemachine some-lib --latest\n\n  ✔ Works done!\n\n    ╔════════════════════════════════════════════╗\n    ║                                            ║\n    ║   Name: 0.0.1, Tag: v0.0.1                 ║\n    ║   Assets:                                  ║\n    ║       some_file.app: 1                     ║\n    ║                                            ║\n    ║   Total: 1                                 ║\n    ║                                            ║\n    ╚════════════════════════════════════════════╝\n\n  Total: 1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjopemachine%2Fget-gh-downloads","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjopemachine%2Fget-gh-downloads","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjopemachine%2Fget-gh-downloads/lists"}