【文件属性】:
文件名称:gitlog:用于处理 git 日志的节点模块
文件大小:5KB
文件格式:ZIP
更新时间:2021-06-11 10:24:58
JavaScript
日志
一个用于在 javascript 中检索和使用 git 日志的小包
安装
npm install gitlog
用法
var gitlog = require ( 'gitlog' )
gitlog ( './' , function ( error , commits ) {
if ( error ) return console . log ( error )
// Commits is an array of commits objects
commits . forEach ( function ( commit ) {
console . log ( commit . subject )
} )
} )
应用程序接口
执照
【文件预览】:
gitlog-master
----lib()
--------log-parse.js(367B)
--------log-command.js(717B)
--------gitlog.js(381B)
--------log-exec.js(368B)
----LICENSE(1KB)
----test()
--------log-parse.js(846B)
--------log-command.js(488B)
--------gitlog.js(1KB)
--------log-exec.js(423B)
----README.md(420B)
----.gitignore(35B)
----index.js(1B)
----package.json(454B)