{"id":28369052,"url":"https://github.com/aoki/git-origin-parser","last_synced_at":"2026-04-19T04:37:18.409Z","repository":{"id":143879877,"uuid":"125456139","full_name":"aoki/git-origin-parser","owner":"aoki","description":" git-origin-parser is to parse git URI and return JS object.","archived":false,"fork":false,"pushed_at":"2018-04-04T05:50:50.000Z","size":47,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-09-22T04:47:35.939Z","etag":null,"topics":["git","javascript","npm"],"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/aoki.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":"2018-03-16T03:04:28.000Z","updated_at":"2018-04-04T05:45:55.000Z","dependencies_parsed_at":"2023-06-15T05:30:27.923Z","dependency_job_id":null,"html_url":"https://github.com/aoki/git-origin-parser","commit_stats":{"total_commits":9,"total_committers":2,"mean_commits":4.5,"dds":"0.33333333333333337","last_synced_commit":"91234e161863f1668447b2755bc7a4abb0de3022"},"previous_names":["ringohub/git-origin-parser"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/aoki/git-origin-parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoki%2Fgit-origin-parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoki%2Fgit-origin-parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoki%2Fgit-origin-parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoki%2Fgit-origin-parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aoki","download_url":"https://codeload.github.com/aoki/git-origin-parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aoki%2Fgit-origin-parser/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000702,"owners_count":26082805,"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-10-08T02:00:06.501Z","response_time":56,"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":["git","javascript","npm"],"created_at":"2025-05-29T05:09:29.225Z","updated_at":"2025-10-08T19:18:29.530Z","avatar_url":"https://github.com/aoki.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# git-origin-parser\n\n`git-origin-parser` is to parse git URI and return JS object.\nSupport protocol is `file://`, `git://`, `ssh://` and `http(s)://`.\n\n## Install\n\n```bash\nnpm install git-origin-parser\n```\n\n\n## How to Use\n\n```js\nconst parse = require('git-origin-parser');\nconst origin = parse('https://github.com/ringohub.git-origin-parser.git');\n```\n\n`origin` object is below.\n\n```js\n{ type: 'https',\n  domain: 'github.com',\n  path: 'ringohub.git-origin-parser' }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faoki%2Fgit-origin-parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faoki%2Fgit-origin-parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faoki%2Fgit-origin-parser/lists"}