# get-git-info

> get git remote origin url

Latest version **1.0.0** (published 2015-10-25) · ISC license · 0 weekly downloads

## Install

```sh
npm install get-git-info
pnpm add get-git-info
yarn add get-git-info
bun add get-git-info
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2015-10-25 |
| First published | 2015-10-25 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | i5ting |

## Links

- npm: https://www.npmjs.com/package/get-git-info
- Repository: https://github.com/i5ting/get-git-info
- Homepage: https://github.com/i5ting/get-git-info#readme
- Issues: https://github.com/i5ting/get-git-info/issues
- npm.io page: https://npm.io/package/get-git-info

## Dependencies (1)

- [iniparser](https://npm.io/package/iniparser.md) ^1.0.5

## Recent versions

- 1.0.0 (latest) — 2015-10-25

## README

# get-git-info

获取当前git的remote地址里的user和project

## Install 

```
npm install --save get-git-info
```

## Usages

```
var cfg = require('get-git-info')(__dirname);
console.log(cfg)
```

以当前项目为例

打印出

```
{ user: 'i5ting', project: 'get-git-info' }
```

---
_Source: https://npm.io/package/get-git-info · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
