4.0.0 • Published 8 months ago

git-raw-commits v4.0.0

Weekly downloads
2,605,341
License
MIT
Repository
github
Last release
8 months ago

NPM version Build Status: Linux Build Status: Windows Dependency Status Coverage Status

Get raw git commits out of your repository using git-log(1)

Install

$ npm install --save git-raw-commits

Usage

var gitRawCommits = require('git-raw-commits');

gitRawCommits(options)
  .pipe(...);

API

gitRawCommits(gitOpts, execOpts)

Returns a readable stream. Stream is split to break on each commit.

gitOpts

Type: object

Please check the available options at http://git-scm.com/docs/git-log. NOTE: Single dash arguments are not supported because of https://github.com/sindresorhus/dargs/blob/master/index.js#L5.

NOTE: for <revision range> we can also use <from>..<to> pattern, and this module has the following extra options for shortcut of this pattern:

gitOpts.from

Type: string Default: ''

gitOpts.to

Type: string Default: 'HEAD'

This module also have the following additions:

gitOpts.format

Type: string Default: '%B'

Please check http://git-scm.com/docs/git-log for format options.

gitOpts.debug

Type: function

A function to get debug information.

gitOpts.path

Type: string or array

Filter commits to the path(s) provided.

execOpts

Options to pass to git childProcess

Type: object

execOpts.cwd

Type: string

Current working directory to execute git in

CLI

$ npm install --global git-raw-commits
$ git-raw-commits --help # for more details

License

MIT © Steve Mao

conventional-changelog-coreconventional-recommended-bumparchetype-libraryeasy-select-rnreact-native-bluetooth2killi8n-react-native-fast-image@chetwoodfinancial/release-toolsairscanairscan-examplereact-native-esc-pos-sahaab@borisovart/atol-kkt-module@frxf/frxfdeneme323112@ntt_app/react-native-custom-notificationhoofjsreact-native-covid-sdk@jttechnic/interpreterreact-native-printer-brothersreact-native-shekhar-bridge-testcogoportutils@oiti/documentoscopy-react-nativequoc-test@infinitebrahmanuniverse/nolb-git-rluminos-ui-core@everything-registry/sub-chunk-1761jawwy-sdkjawwy_gamification_releasemock-changelogreact-native-sphereuisphereuijawwy_libraryreact-native-credit-card-pkgreact-native-jawwy_sample@charliec3/gh-actions-example-docs2react-native-chenaarreact-native-responsive-sizedotenv-coredegree-of-authorshipdemo-test-scrndiscord.js-bycondiscordjs-con-selfdogandev-simple-toastdotex-plugin@damruravihara/react-native-testing-packageeasyplayer-mysmart_one_connectcandlelabssdk@bigcommerce/validate-commitsci-build-notifier@cdk8s-extensions/argo-rollout@ckeditor/ckeditor5-dev-env@ckeditor/ckeditor5-dev-release-tools@charliec3/gh-actions-example@charliec3/gh-actions-example-docscommit-watch@con-test/react-native-concent-commonconventional-changelog-lintconventional-changelog-core-innovamatconventional-changelog-core-merge-requests@commitlint/readconventional-git-logconventional-recommended-bump-eslintconventional-recommended-bump-hellaconventional-commits-detector@coveo/semantic-monorepo-tools@corelmax/react-native-my2c2p-sdk@boundless-inc/mobiledoc-dom-renderer@buganto/client@blusalt-sdk/react-native-blusalt-document-verificationchangelog-creator@cs6/react-native-test-native-view-librarycheckbox-component@brantalikp/rn-resizepayutestingblacklake-conventional-changelog-coreconnex_ram00nez@dotconf-pro/dotconf-pro@dotconf-pro/dotenvawesome-module-kdbirken-react-native-community-image-editorbiometric-stsushi-sdk-ftmfirebase-sign-in-with-ethereumfawaterak-online-paymentfawatrak-online-paymentfmslevanutilsjawwy_library_newjawy_library_v1gamification-jawwy-libraryframework_test_library_sixdee_new_jawwytest_lib_module_aarzzzxxxyyy321123arifbudixzastra-ufo-sdkarchlibraryautoreleasefluent.adflow.reactnativesdkfluent.adflow.reactnativesdk-alphatest-zeo-collect
4.0.0

8 months ago

3.0.0

11 months ago

2.0.11

2 years ago

2.0.10

3 years ago

2.0.9

3 years ago

2.0.8

3 years ago

2.0.7

4 years ago

2.0.3

4 years ago

2.0.2

5 years ago

2.0.0

6 years ago

1.3.6

6 years ago

1.3.5

6 years ago

1.3.4

6 years ago

1.3.3

6 years ago

1.3.2

6 years ago

1.3.1

6 years ago

1.3.0

6 years ago

1.2.0

7 years ago

1.1.2

8 years ago

1.1.1

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago

0.1.2

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago

0.0.0

9 years ago