{"id":15732598,"url":"https://github.com/jonschlinkert/list-git-remotes","last_synced_at":"2025-07-27T06:32:41.188Z","repository":{"id":65990708,"uuid":"88704182","full_name":"jonschlinkert/list-git-remotes","owner":"jonschlinkert","description":"List the remotes for a local git repository. Sync and async.","archived":false,"fork":false,"pushed_at":"2017-04-19T23:34:22.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-07-13T01:48:24.593Z","etag":null,"topics":["git","javascript","list","nodejs","remote","remotes","repo","repository","url"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert/list-git-remotes","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/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/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}},"created_at":"2017-04-19T05:23:32.000Z","updated_at":"2024-01-09T10:25:30.000Z","dependencies_parsed_at":"2023-06-05T15:15:21.326Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/list-git-remotes","commit_stats":{"total_commits":11,"total_committers":1,"mean_commits":11.0,"dds":0.0,"last_synced_commit":"1dbf363822949aea9e798a2ff45ad5f602db8897"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jonschlinkert/list-git-remotes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flist-git-remotes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flist-git-remotes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flist-git-remotes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flist-git-remotes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/list-git-remotes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Flist-git-remotes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267316363,"owners_count":24068220,"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-07-27T02:00:11.917Z","response_time":82,"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","list","nodejs","remote","remotes","repo","repository","url"],"created_at":"2024-10-04T00:21:08.683Z","updated_at":"2025-07-27T06:32:41.135Z","avatar_url":"https://github.com/jonschlinkert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# list-git-remotes [![NPM version](https://img.shields.io/npm/v/list-git-remotes.svg?style=flat)](https://www.npmjs.com/package/list-git-remotes) [![NPM monthly downloads](https://img.shields.io/npm/dm/list-git-remotes.svg?style=flat)](https://npmjs.org/package/list-git-remotes) [![Linux Build Status](https://img.shields.io/travis/jonschlinkert/list-git-remotes.svg?style=flat\u0026label=Travis)](https://travis-ci.org/jonschlinkert/list-git-remotes) [![Windows Build Status](https://img.shields.io/appveyor/ci/jonschlinkert/list-git-remotes.svg?style=flat\u0026label=AppVeyor)](https://ci.appveyor.com/project/jonschlinkert/list-git-remotes)\n\n\u003e List the remotes for a local git repository. Sync and async.\n\n## Install\n\nInstall with [npm](https://www.npmjs.com/):\n\n```sh\n$ npm install --save list-git-remotes\n```\n\nInstall with [yarn](https://yarnpkg.com):\n\n```sh\n$ yarn add list-git-remotes\n```\n\n## Usage\n\n```js\nvar remotes = require('list-git-remotes');\n\nconsole.log(remotes.sync('some/project'));\n//=\u003e { origin: 'https://github.com/jonschlinkert/list-git-remotes.git' }\n\nremotes('some/project', function(err, res) {\n  if (err) throw err;\n  console.log(res);\n  //=\u003e { origin: 'https://github.com/jonschlinkert/list-git-remotes.git' }\n});\n```\n\n## About\n\n### Related projects\n\n* [git-branch](https://www.npmjs.com/package/git-branch): Get the current branch for a local git repository. | [homepage](https://github.com/jonschlinkert/git-branch \"Get the current branch for a local git repository.\")\n* [git-user-email](https://www.npmjs.com/package/git-user-email): Get the email address of the current user from git config. | [homepage](https://github.com/jonschlinkert/git-user-email \"Get the email address of the current user from git config.\")\n* [git-user-name](https://www.npmjs.com/package/git-user-name): Get a user's name from git config at the project or global scope, depending on… [more](https://github.com/jonschlinkert/git-user-name) | [homepage](https://github.com/jonschlinkert/git-user-name \"Get a user's name from git config at the project or global scope, depending on what git uses in the current context.\")\n* [git-username](https://www.npmjs.com/package/git-username): Get the username from a git remote origin URL. | [homepage](https://github.com/jonschlinkert/git-username \"Get the username from a git remote origin URL.\")\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\nPlease read the [contributing guide](.github/contributing.md) for advice on opening issues, pull requests, and coding standards.\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme \u0026\u0026 verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install \u0026\u0026 npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.5.0, on April 19, 2017._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Flist-git-remotes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonschlinkert%2Flist-git-remotes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Flist-git-remotes/lists"}