gh-history
generate github history into md file
Last updated 10 years ago by yiminghe .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install gh-history 
SYNC missed versions from official npm registry.

gh-history

generate github history from milestones and issues into markdown file.

Install

npm install gh-history -g

Command Line

common usage

gh-history -u react-component -r calendar -f HISTORY.md

use in basic authentication because of github api rate limit

gh-history -u kissyteam -r kissy -f changelog.md -n yourGithubUserName -p yourGithubPassword

or set process.env.GH_USERNAME and process.env.GH_PASSWORD.

Api

var ghHistory = require('gh-history');
ghHistory.generateHistoryMD({
    user : 'kissyteam',
    repo : 'kissy',
    mdFilePath : './HISTORY.md',
    loginUserName : 'exampleName',  //optional, or process.env.GH_USERNAME unless you get rate limit error
    loginPassword : 'examplePassword'  //optional, or process.env.GH_PASSWORD unless you get rate limit error
});

Example

xtemplate milestones and issues: https://github.com/kissyteam/xtemplate/milestones?state=closed

xtemplate HISTORY.md: https://github.com/kissyteam/xtemplate/blob/master/HISTORY.md

xtemplate history at spm: http://spmjs.io/docs/xtemplate/history.html

Related

npmjs.org/package/gh-changelog

Current Tags

  • 1.0.5                                ...           latest (10 years ago)

6 Versions

  • 1.0.5                                ...           10 years ago
  • 1.0.4                                ...           10 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (5)
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE