gh-changelog

1.0.6 • Public • Published

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...
})

Readme

Keywords

Package Sidebar

Install

npm i gh-changelog

Weekly Downloads

1

Version

1.0.6

License

ISC

Last publish

Collaborators

  • weekeight