Skip to content

A JavaScript-Library version of git-extras/git-changelog

License

Notifications You must be signed in to change notification settings

kouhin/changelogit

Repository files navigation

Changelogit (Changelog for Git/Github)

A JavaScript-Library version of git-extras/git-changelog

npm dependency status airbnb style

Installation

  • npm
npm install changelogit --save

Usage

import changelogit from 'changelogit';

changelogit('v1.0.0', 'v2.0.0', {
  titleTag: 'n.n.n', // [default: n.n.n] Tag for untagged commits
  listAll: false, // [default: false] true: Retrieve all commits, false: Only untagged commits
  noMerges: false, // [default: false] true: Suppress commits from merged branches
  mergesOnly: false, // [default: false] true: Only uses merge commits
}).then((changelog) => {
  // Print changelog (in JSON)
  console.info(JSON.stringify(changelog, null, '  '));
});

License

MIT

About

A JavaScript-Library version of git-extras/git-changelog

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published