Skip to content

weekeight/gh-changelog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gh-changelog

generate github changelog into markdown file

##Install

npm install gh-changelog -g

##Command Line

common usage

changelog-md -u kissyteam -r kissy -f changelog.md

use in basic authentication because of github api rate limit

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

##Use Api

var ghChangeLog = require('gh-changelog');
ghChangeLog.getChangeLog({
	user : 'kissyteam',
	repo : 'kissy',
	mdFilePath : './changelog.md',
	loginUserName : 'exampleName',  //optional,unless you get rate limit error
	loginPassword : 'examplePassword'  //optional,unless you get rate limit error
});

//or you can get the changelog data and output changelog whatever format you prefer
ghChangeLog.getChangeLogData({
	user : 'kissyteam',
	repo : 'kissy',
	loginUserName : 'exampleName',  //optional,unless you get rate limit error
	loginPassword : 'examplePassword'  //optional,unless you get rate limit error
},function(changeLogData){
	//do something with changeLogData...
})

About

generate github changelog into markdown file

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published