{"_id":"@types/git-raw-commits","_rev":"2931004","name":"@types/git-raw-commits","description":"TypeScript definitions for git-raw-commits","dist-tags":{"latest":"2.0.1","ts2.8":"2.0.0","ts2.9":"2.0.0","ts3.0":"2.0.0","ts3.1":"2.0.0","ts3.2":"2.0.0","ts3.3":"2.0.0","ts3.4":"2.0.0","ts3.5":"2.0.0","ts3.6":"2.0.1","ts3.7":"2.0.1","ts3.8":"2.0.1","ts3.9":"2.0.1","ts4.0":"2.0.1","ts4.1":"2.0.1","ts4.2":"2.0.1","ts4.3":"2.0.1","ts4.4":"2.0.1","ts4.5":"2.0.1","ts4.6":"2.0.1","ts4.7":"2.0.1","ts4.8":"2.0.1","ts4.9":"2.0.1","ts5.0":"2.0.1","ts5.1":"2.0.1"},"maintainers":[{"name":"types","email":""}],"time":{"modified":"2023-03-14T06:28:14.000Z","created":"2020-01-13T22:33:58.454Z","2.0.0":"2020-01-13T22:33:58.454Z","2.0.1":"2021-07-08T13:08:06.740Z"},"users":{},"repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/git-raw-commits"},"versions":{"2.0.0":{"name":"@types/git-raw-commits","version":"2.0.0","description":"TypeScript definitions for git-raw-commits","license":"MIT","contributors":[{"name":"Jason Kwok","url":"https://github.com/JasonHK","githubUsername":"JasonHK"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/git-raw-commits"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"557721c8d13886a6024d96403abfba7080ae3442c1b53d1eff5114dd4655ad86","typeScriptVersion":"2.8","_id":"@types/git-raw-commits@2.0.0","dist":{"shasum":"157e9e4709db0748fb1aa623f8927ddd4864bac6","size":2188,"noattachment":false,"key":"/@types/git-raw-commits/-/@types/git-raw-commits-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/git-raw-commits/download/@types/git-raw-commits-2.0.0.tgz"},"maintainers":[{"name":"types","email":""}],"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-raw-commits_2.0.0_1578954838231_0.536412696947691"},"_hasShrinkwrap":false,"publish_time":1578954838454,"_cnpm_publish_time":1578954838454,"_cnpmcore_publish_time":"2021-12-16T23:06:51.048Z"},"2.0.1":{"name":"@types/git-raw-commits","version":"2.0.1","description":"TypeScript definitions for git-raw-commits","homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-raw-commits","license":"MIT","contributors":[{"name":"Jason Kwok","url":"https://github.com/JasonHK","githubUsername":"JasonHK"}],"main":"","types":"index.d.ts","repository":{"type":"git","url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","directory":"types/git-raw-commits"},"scripts":{},"dependencies":{"@types/node":"*"},"typesPublisherContentHash":"340df9edbe65f4090e267fcf86a3c23eb08ed58fc2049a8fb0a3d3498ac727e4","typeScriptVersion":"3.6","_id":"@types/git-raw-commits@2.0.1","dist":{"shasum":"94bd91f6cfbc7174a47545424559de229998adc1","size":2261,"noattachment":false,"key":"/@types/git-raw-commits/-/@types/git-raw-commits-2.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/@types/git-raw-commits/download/@types/git-raw-commits-2.0.1.tgz"},"_npmUser":{"name":"types","email":"ts-npm-types@microsoft.com"},"directories":{},"maintainers":[{"name":"types","email":""}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/git-raw-commits_2.0.1_1625749686521_0.7882066113423292"},"_hasShrinkwrap":false,"publish_time":1625749686740,"_cnpm_publish_time":1625749686740,"_cnpmcore_publish_time":"2021-12-16T23:06:50.638Z"}},"readme":"# Installation\r\n> `npm install --save @types/git-raw-commits`\r\n\r\n# Summary\r\nThis package contains type definitions for git-raw-commits (https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/git-raw-commits#readme).\r\n\r\n# Details\r\nFiles were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-raw-commits.\r\n## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-raw-commits/index.d.ts)\r\n````ts\r\n// Type definitions for git-raw-commits 2.0\n// Project: https://github.com/conventional-changelog/conventional-changelog/tree/master/packages/git-raw-commits#readme\n// Definitions by: Jason Kwok <https://github.com/JasonHK>\n// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped\n// TypeScript Version: 2.7\n\n/// <reference types=\"node\" />\n\nimport * as Stream from \"stream\";\n\n/**\n * Returns a readable stream. Stream is split to break on each commit.\n *\n * @param gitOpts\n * @param execOpts Options to pass to `git` `childProcess`.\n */\ndeclare function gitRawCommits(gitOptions: gitRawCommits.GitOptions, execOptions?: gitRawCommits.ExecOptions): Stream.Readable;\n\ndeclare namespace gitRawCommits {\n    /**\n     * Options to pass to `git` `childProcess`.\n     */\n    interface ExecOptions {\n        /**\n         * Current working directory to execute git in.\n         */\n        cwd?: string | undefined;\n    }\n\n    /**\n     * Please check the available options at http://git-scm.com/docs/git-log.\n     *\n     * @remarks\n     * Single dash arguments are not supported because of https://github.com/sindresorhus/dargs/blob/master/index.js#L5.\n     *\n     * @remarks\n     * For `<revision range>` we can also use `<from>..<to>` pattern, and this\n     * module has the following extra options for shortcut of this pattern:\n     *\n     * * `from`\n     * * `to`\n     *\n     * This module also have the following additions:\n     *\n     * * `format`\n     * * `debug`\n     * * `path`\n     */\n    interface GitOptions {\n        /**\n         * @default\n         * ''\n         */\n        from?: string | undefined;\n\n        /**\n         * @default\n         * 'HEAD'\n         */\n        to?: string | undefined;\n\n        /**\n         * Please check http://git-scm.com/docs/git-log for format options.\n         *\n         * @default\n         * '%B'\n         */\n        format?: string | undefined;\n\n        /**\n         * A function to get debug information.\n         */\n        debug?: ((message: any) => void) | undefined;\n\n        /**\n         * Filter commits to the path provided.\n         */\n        path?: string | undefined;\n\n        [options: string]: any;\n    }\n}\n\nexport = gitRawCommits;\n\r\n````\r\n\r\n### Additional Details\r\n * Last updated: Thu, 08 Jul 2021 12:02:08 GMT\r\n * Dependencies: [@types/node](https://npmjs.com/package/@types/node)\r\n * Global values: none\r\n\r\n# Credits\r\nThese definitions were written by [Jason Kwok](https://github.com/JasonHK).\r\n","_attachments":{},"homepage":"https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/git-raw-commits","license":"MIT"}