Installation
npm install --save @types/git-config
Summary
This package contains type definitions for git-config (https://github.com/eugeneware/git-config).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-config.
index.d.ts
/**
* A simple way to extract out all the contents of a .gitconfig file and return as JSON
*/
declare function parse(file: string, callback: (err: Error | null, data: object) => void): void;
declare function parse(callback: (err: Error | null, data: object) => void): void;
declare namespace parse {
function sync(file?: string): object;
}
export = parse;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Sam Saint-Pettersen, and Piotr Błażejewicz.