Skip to content

dv336699/conventional-changelog

 
 

Repository files navigation

NPM version Build Status Dependency Status Coverage Status

Generate a changelog from git metadata

You are probably looking for the cli module. Or use one of the plugins if you are already using the tool: grunt/gulp/atom.

Usage

$ npm install --save conventional-changelog
var conventionalChangelog = require('conventional-changelog');

conventionalChangelog({
  preset: 'angular'
})
  .pipe(process.stdout); // or any writable stream

API

conventionalChangelog([options, [context, [gitRawCommitsOpts, [parserOpts, [writerOpts]]]]])

Returns a readable stream.

options

See the conventional-changelog-core docs. The API is the same with the following changes or additions:

preset

Type: string Possible values: 'angular', 'atom', 'codemirror', 'ember', 'eslint', 'express', 'jquery', 'jscs', 'jshint'

It's recommended to use a preset so you don't have to define everything yourself. options.config will be set to this value.

Related

License

MIT

About

Generate a changelog from git metadata

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%