# packagegitconfig

> find the git folder for your package and parse the .git/config file into a useful data structure. also adds the github web url for the repo.

Latest version **1.0.0** (published 2017-09-13) · MIT license · 0 weekly downloads

## Install

```sh
npm install packagegitconfig
pnpm add packagegitconfig
yarn add packagegitconfig
bun add packagegitconfig
```

## 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 | 2017-09-13 |
| First published | 2013-04-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Ryan Day |
| Maintainers | soldair |
| Keywords | gitconfig, module, github |

## Links

- npm: https://www.npmjs.com/package/packagegitconfig
- Repository: https://github.com/soldair/node-packagegitconfig
- Homepage: https://github.com/soldair/node-packagegitconfig#readme
- Issues: https://github.com/soldair/node-packagegitconfig/issues
- npm.io page: https://npm.io/package/packagegitconfig

## Dependencies (3)

- [github-url](https://npm.io/package/github-url.md) ~1.0.0
- [packageroot](https://npm.io/package/packageroot.md) ~1.0.0
- [gitconfiglocal](https://npm.io/package/gitconfiglocal.md) 0.0.0

## Alternatives

- [jsforce](https://npm.io/package/jsforce.md) — 851.2K weekly downloads
- [react-native-qrcode-svg](https://npm.io/package/react-native-qrcode-svg.md) — 693.5K weekly downloads
- [@salesforce/plugin-data](https://npm.io/package/@salesforce/plugin-data.md) — 394.9K weekly downloads
- [@backstage/plugin-search-common](https://npm.io/package/@backstage/plugin-search-common.md) — 308.5K weekly downloads
- [@chain-registry/types](https://npm.io/package/@chain-registry/types.md) — 38.4K weekly downloads

## Recent versions

- 1.0.0 (latest) — 2017-09-13
- 0.0.1 — 2017-09-13
- 0.0.0 — 2013-04-23

## README

[![Build Status](https://secure.travis-ci.org/soldair/node-packagegitconfig.png)](http://travis-ci.org/soldair/node-packagegitconfig)

packagegitconfig
================

find the git folder for your package and parse the .git/config file into a useful data structure. also adds the github web url for the repo.


example
=======

```js
var gitconfig = require('packagegitconfig');

gitconfig('./',function(err,config){
  console.log(config);

  /* prints:
  { core: 
     { repositoryformatversion: '0',
       filemode: true,
       bare: false,
       logallrefupdates: true },
    remote: 
     { origin: 
        { url: 'git@github.com:soldair/node-packagegitconfig.git',
          fetch: '+refs/heads/*:refs/remotes/origin/*' } },
    github: 'https://github.com/soldair/node-packagegitconfig' }
  */



});


```

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