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

1.2.3 • Public • Published

Installation

npm install --save @types/git-log-parser

Summary

This package contains type definitions for git-log-parser (https://github.com/bendrucker/git-log-parser).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-log-parser.

index.d.ts

/// <reference types="node"/>

import { SpawnOptions, SpawnOptionsWithoutStdio } from "child_process";

export function parse(
    config: object,
    options?:
        | SpawnOptionsWithoutStdio
        | SpawnOptions,
): NodeJS.ReadableStream;

export const fields: {
    commit: {
        long: "H";
        short: "h";
    };
    tree: {
        long: "T";
        short: "t";
    };
    author: {
        name: "an";
        email: "ae";
        date: {
            key: "ai";
            type: Date;
        };
    };
    committer: {
        name: "cn";
        email: "ce";
        date: {
            key: "ci";
            type: Date;
        };
    };
    subject: "s";
    body: "b";
};

Additional Details

  • Last updated: Tue, 07 Nov 2023 03:09:37 GMT
  • Dependencies: @types/node

Credits

These definitions were written by Corbin Crutchley.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/git-log-parser

Weekly Downloads

144

Version

1.2.3

License

MIT

Unpacked Size

4.07 kB

Total Files

5

Last publish

Collaborators

  • types