Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

conventional-changelog-core

Package Overview
Dependencies
Maintainers
4
Versions
68
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conventional-changelog-core

Core package of conventional-changelog.

  • 8.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
4
Created

What is conventional-changelog-core?

The conventional-changelog-core npm package is a tool designed to generate changelogs for projects based on semantic versioning and commit message conventions. It automates the creation of changelogs by parsing commit messages, identifying the type of changes, and formatting them into a structured changelog file.

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

Generate changelog from git metadata

This code demonstrates how to generate a changelog using the Angular preset. It streams the changelog content and writes it to a 'CHANGELOG.md' file.

const conventionalChangelog = require('conventional-changelog-core');
const fs = require('fs');
const changelogStream = conventionalChangelog({preset: 'angular'});
changelogStream.pipe(fs.createWriteStream('CHANGELOG.md'));

Customizable preset and configuration

This example shows how to use a custom configuration for generating a changelog. The configuration can define how commit messages are parsed, what types of commits to include, and how the changelog is formatted.

const conventionalChangelog = require('conventional-changelog-core');
const config = require('./custom-config');
const changelogStream = conventionalChangelog({config: config});
changelogStream.pipe(process.stdout);

Other packages similar to conventional-changelog-core

Keywords

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc