{"name":"git-remote-origin-url","version":"4.0.0","description":"Get the remote origin URL of a Git repository","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/git-remote-origin-url.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":"^12.20.0 || ^14.13.1 || >=16.0.0"},"scripts":{"test":"xo && ava && tsd"},"keywords":["git","config","url","repo","remote","origin"],"dependencies":{"gitconfiglocal":"^2.1.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.17.0","xo":"^0.44.0"},"gitHead":"41be359a8382b22510c88a7c2da6ee52cc892bd7","bugs":{"url":"https://github.com/sindresorhus/git-remote-origin-url/issues"},"homepage":"https://github.com/sindresorhus/git-remote-origin-url#readme","_id":"git-remote-origin-url@4.0.0","_nodeVersion":"14.17.5","_npmVersion":"7.20.3","dist":{"integrity":"sha512-EAxDksNdjuWgmVW9pVvA9jQDi/dmTaiDONktIy7qiRRhBZUI4FQK1YvBvteuTSX24aNKg9lfgxNYJEeeSXe6DA==","shasum":"712649112d88ca42b7d585e1b9fa6cafe22c8f63","tarball":"http://registry-npm.ywwl.com/git-remote-origin-url/download/git-remote-origin-url-4.0.0.tgz","fileCount":5,"unpackedSize":3881,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhO5ytCRA9TVsSAnZWagAAYVQP/RQHSvQOXeiv3KpHXUc5\nvDO1gjSLB/dRa9TTEX1VliDghl0EUCZ0zIiQ4Sefq/OnbdA/idctlnb+zBt7\nx9IseTRzY9OF2MtH4fay8EsCFxqDVPHRsOMht8tIhZ3w0H2bpGLtJ+57M+pr\n/VvfQzrDm7y/lFfF7utZdpZ+LLRwli6AG2drvOoq5xXjbA/ZQ1axcI+j+cwB\nn7gD1fV5vfijKdgBJNrn0ni5QOK5nOcOpuTDkTyM+0SA6Nw59f0NJ7luZm1K\nSmGhH2yChCrXNNDAnNWC0hKbatKa16kC+NFo1nRL3d7KYMYzztaGYUcJZcUr\nYDB4CY8zdRHxHpY6pxrfaA8OKMWu5G8qK0YJJ2pS+QGujj1z/6bMHNNYIQrR\nBfc9y6uB+zYWZzZy+BdSCdFlXQrvjzxwv+Ub0XVyySDc0uEe98lW86sLh6my\nIkIE5XEscR+fOmFHdKmbsIAZpZbi1U/Scx8kZDagK9C+jHqnRokhE8OqaJb5\n/JvOoysRWkOW6N9Uxa85L0v3yGDHusKzdMb4NINsdDVY8MqLI6S5zHuxUl4c\nTYozNGVIdttGuSG0Sn4asoRO2BT1CTiX+pcApacg5QlknTHIS7YqAHDAoBOY\nXE0+ZLO7UuWWwJ7AIfkB2FszLujZqWdivD2lVSulxTNHCgh1ckY6yOHzCC0O\nD7Io\r\n=8DO8\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDMn+t3mvY4ddTHjObvm8Ru8Gjv6pY6eV4Fov3EbUs5WAIgOX9Q7nZrKMMEzUpEtTvcvFZdutZYlc5qC6VdNt7EDoY="}],"size":1968,"noattachment":false,"key":"/git-remote-origin-url/-/git-remote-origin-url-4.0.0.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-remote-origin-url_4.0.0_1631296685836_0.6610721316874104"},"_hasShrinkwrap":false,"readme":"# git-remote-origin-url\n\n> Get the remote origin URL of a Git repository\n\n## Install\n\n```\n$ npm install git-remote-origin-url\n```\n\n## Usage\n\n```js\nimport gitRemoteOriginUrl from 'git-remote-origin-url';\n\nconsole.log(await gitRemoteOriginUrl());\n//=> 'git@github.com:sindresorhus/git-remote-origin-url.git'\n```\n\n## gitRemoteOriginUrl(options?)\n\n### options\n\nType: `object`\n\n#### cwd\n\nType: `string`\\\nDefault: `process.cwd()`\n\nThe current working directory.\n\n#### remoteName\n\nType: `string`\\\nDefault: `'origin'`\n\nThe Git remote name.\n\n---\n\n<div align=\"center\">\n\t<b>\n\t\t<a href=\"https://tidelift.com/subscription/pkg/npm-git-remote-origin-url?utm_source=npm-git-remote-origin-url&utm_medium=referral&utm_campaign=readme\">Get professional support for this package with a Tidelift subscription</a>\n\t</b>\n\t<br>\n\t<sub>\n\t\tTidelift helps make open source sustainable for maintainers while giving companies<br>assurances about security, maintenance, and licensing for their dependencies.\n\t</sub>\n</div>\n","publish_time":1631296685953,"_cnpm_publish_time":1631296685953,"dist-tags":{"latest":"4.0.0"}}