@types/git-config
TypeScript icon, indicating that this package has built-in type declarations

0.0.32 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/git-config

Weekly Downloads

92

Version

0.0.32

License

MIT

Unpacked Size

3.53 kB

Total Files

5

Last publish

Collaborators

  • types