Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@tryprospect/git-raw-commits
Advanced tools
Get raw git commits out of your repository using git-log(1)
Get raw git commits out of your repository using git-log(1)
$ npm install --save @tryprospect/git-raw-commits
var gitRawCommits = require('@tryprospect/git-raw-commits');
gitRawCommits(options)
.pipe(...);
Returns a readable stream. Stream is split to break on each commit.
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:
Type: string
Default: ''
Type: string
Default: 'HEAD'
This module also have the following additions:
Type: string
Default: '%B'
Please check http://git-scm.com/docs/git-log for format options.
Type: function
A function to get debug information.
Type: string
Filter commits to the path provided.
Options to pass to git
childProcess
Type: object
Type: string
Current working directory to execute git in
$ npm install --global @tryprospect/git-raw-commits
$ git-raw-commits --help # for more details
MIT © Steve Mao
FAQs
Get raw git commits out of your repository using git-log(1)
We found that @tryprospect/git-raw-commits demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.