{"id":14155182,"url":"https://github.com/jcrqr/gh","last_synced_at":"2025-08-27T09:22:55.306Z","repository":{"id":140031525,"uuid":"405333118","full_name":"jcrqr/gh","owner":"jcrqr","description":"Module to use GitHub CLI in Deno.","archived":false,"fork":false,"pushed_at":"2021-09-11T09:07:50.000Z","size":2,"stargazers_count":6,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-17T16:39:50.299Z","etag":null,"topics":["deno","gh-cli","gh-extension"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/jcrqr.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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},"funding":{"github":["wtfiscrq"]}},"created_at":"2021-09-11T09:07:41.000Z","updated_at":"2024-10-11T21:05:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"95ef2824-3a94-4ab8-a308-05d6ba1440e4","html_url":"https://github.com/jcrqr/gh","commit_stats":null,"previous_names":["jcrqr/gh"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jcrqr/gh","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcrqr%2Fgh","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcrqr%2Fgh/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcrqr%2Fgh/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcrqr%2Fgh/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jcrqr","download_url":"https://codeload.github.com/jcrqr/gh/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jcrqr%2Fgh/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":272314112,"owners_count":24912325,"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","status":"online","status_checked_at":"2025-08-27T02:00:09.397Z","response_time":76,"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":["deno","gh-cli","gh-extension"],"created_at":"2024-08-17T08:02:24.963Z","updated_at":"2025-08-27T09:22:55.284Z","avatar_url":"https://github.com/jcrqr.png","language":"TypeScript","funding_links":["https://github.com/sponsors/wtfiscrq"],"categories":["gh-extension"],"sub_categories":[],"readme":"# :octocat: gh\n\n\u003e Module to use GitHub CLI (aka `gh`) in Deno. Useful to create [extensions](https://cli.github.com/manual/gh_extension) using Deno.\n\n## Installation\n\n```ts\nimport { gh } from \"https://deno.land/x/gh@v0.0.1/mod.ts\";\n```\n\n## Usage\n\n```ts\nimport { gh } from \"https://deno.land/x/gh@v0.0.1/mod.ts\";\n\nasync function gh(cmd: string, options: Options): Promise\u003cunknown\u003e\n```\n\n## Options\n\n```ts\ninterface Options {\n  debug?: boolean;\n  flags?: Record\u003cstring, string | number | boolean | Array\u003cstring | number | boolean\u003e\u003e;\n  json?: boolean;\n}\n```\n\n## Example\n\n```ts\nimport { gh } from \"./mod.ts\";\n\nconst repos = await gh(\"api users/octocat/repos\", {\n  json: true,\n  flags: { paginate: true },\n}) as Array\u003cunknown\u003e;\n\nconsole.log(`@octocat has ${repos.length} repos`);\n```\n\n## Permissions\n\nThis module requires the `--allow-run` permission.\n\n## Contributing\n\nPlease, see [CONTRIBUTING.md](CONTRIBUTING.md) to learn how you can contribute to this repository.\n\n## License\n\nThis project is released under the [MIT License](LICENSE).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcrqr%2Fgh","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjcrqr%2Fgh","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjcrqr%2Fgh/lists"}