New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

conventional-changelog-writer

Package Overview
Dependencies
Maintainers
4
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-writer

Write logs based on conventional commits and templates.

8.0.0
Source
npm
Version published
Weekly downloads
4.2M
0.56%
Maintainers
4
Weekly downloads
 
Created

What is conventional-changelog-writer?

The conventional-changelog-writer npm package is a utility for generating changelogs based on commit messages that follow the Conventional Commits specification. It formats a changelog stream from parsed commit objects and allows customization of the output format.

What are conventional-changelog-writer's main functionalities?

Generate changelog

This code demonstrates how to use conventional-changelog-writer to generate a changelog from an array of commit objects. Each commit is written to the changelog stream, which formats them according to the specified context and options.

const writer = require('conventional-changelog-writer');
const commits = [
  {hash: '123', type: 'feat', subject: 'add new feature'},
  {hash: '456', type: 'fix', subject: 'fix bug'}
];
const context = {version: '1.0.0'};
const options = {};

const changelogStream = writer(context, options);
commits.forEach(commit => changelogStream.write(commit));
changelogStream.end();

Other packages similar to conventional-changelog-writer

Keywords

conventional-changelog-writer

FAQs

Package last updated on 03 May 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts