# @types/gitconfiglocal

> TypeScript definitions for gitconfiglocal

Latest version **2.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/gitconfiglocal
pnpm add @types/gitconfiglocal
yarn add @types/gitconfiglocal
bun add @types/gitconfiglocal
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2023-11-07 |
| First published | 2018-11-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51437 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/gitconfiglocal
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gitconfiglocal
- npm.io page: https://npm.io/package/@types/gitconfiglocal

## Recent versions

- 2.0.3 (latest) — 2023-11-07
- 2.0.1 (ts3.6) — 2021-07-08
- 2.0.0 (ts2.2) — 2018-11-19
- 2.0.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/gitconfiglocal`

# Summary
This package contains type definitions for gitconfiglocal (https://github.com/soldair/node-gitconfiglocal#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gitconfiglocal.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/gitconfiglocal/index.d.ts)
````ts
declare namespace gitconfig {
    interface GitConfig {
        [key: string]: any;
    }

    type callback = (error: Error | false, config: GitConfig) => void;

    interface Options {
        gitDir?: string | undefined;
    }
}

declare function gitconfig(dir: string, options: gitconfig.Options, cb: gitconfig.callback): void;
declare function gitconfig(dir: string, cb: gitconfig.callback): void;

export = gitconfig;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: none

# Credits
These definitions were written by [Florian Keller](https://github.com/ffflorian).

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