1.0.5 • Published 23 days ago

@muyi086/git-commit-export-html v1.0.5

Weekly downloads
-
License
MIT
Repository
github
Last release
23 days ago

git-commit-export-html

中文

npm npm bundle size npm GitHub

Install

npm install @muyi086/git-commit-export-html
# common JS
const gitCommitExportHtml = require('@muyi086/git-commit-export-html')

Use

const options = {
  since: '2021-02-29', // start time
  until: '2021-04-01', // end time
  number: 1000, // records limit
  // default fields: ['abbrevHash', 'hash', 'subject', 'authorName']
  // hash - the long hash of the commit
  // abbrevHash - the abbreviated commit hash
  // treeHash - the tree hash of the commit
  // abbrevTreeHash - the abbreviated commit hash
  // parentHashes - the parent hashes
  // abbrevParentHashes - the abbreviated parent hashes
  // authorName - author name of the commit
  // authorEmail - author email of the commit
  // authorDate - author date of the commit
  // authorDateRel - relative author date of the commit
  // committerName - committer name
  // committerEmail - committer email
  // committerDate - committer date
  // committerDateRel - relative committer date
  // subject - commit message (first line)
  // body - commit body
  // rawBody - raw body (subject + body)
  // tag - raw tag information of commit
  fields: ['subject', 'authorName', 'authorDate']
}
gitCommitExportHtml(options)
1.0.5

23 days ago

1.0.4

1 month ago

1.0.3

1 month ago

1.0.2

1 month ago

1.0.1

1 month ago

1.0.0

1 month ago