$ npm install gh-history
generate github history from milestones and issues into markdown file.
npm install gh-history -g
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.
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
});
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
npmjs.org/package/gh-changelog
© 2010 - cnpmjs.org x YWFE | Home | YWFE