npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@theo.foobar/chlog

v0.2.0

Published

CLI tool to parse and manage changelog files

Readme

changelog parser

npm Github releases Github action

A command-line tool to easily manage and manipulate changelog files, ensuring consistency with the keep a changelog format.

Features

  • Format and parse: Validate and automatically format your changelog file.
  • Initialize a new changelog file: Quickly set up a standardized changelog for your project.
  • Add a new change to a release: Easily add a new change to your changelog.
  • Add a new release: Cut a new release in your changelog.
  • List all releases: Get a list of all releases in your changelog.
  • Show all changes in a release: Display all changes in a specific release.
  • Merge two or more changelog files: Combine multiple changelog files into one.

Installation

From npm

npm install -g @theo.foobar/chlog

From source

git clone https://github.com/TheoBrigitte/changelog-parser.git
cd changelog-parser
sudo npm install -g

Usage

Default parameters use the CHANGELOG.md file in the current directory, this can be changed with the -f flag.

Format and parse

The fmt command parses and formats the changelog file to adhere to the keep a changelog format.

chlog fmt

This command exits with a non-zero status code if the changelog format is invalid.

chlog fmt --silent || echo "Invalid changelog format"

Changes can be written back to the file with the --write flag.

Initialize a new changelog file

The init command initializes a new changelog file.

chlog init

This command creates a new changelog file with the following content:

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/)
and this project adheres to [Semantic Versioning](https://semver.org/).

## [Unreleased]

## [0.1.0] - 2025-01-21

[Unreleased]: https://example.com/compare/v0.1.0...HEAD
[0.1.0]: https://example.com/releases/tag/v0.1.0

This example uses default values, but title, description, url, and initial release version can be configured.

Add a new change to a release

The add command adds a new change to the changelog file.

chlog add --type added "New feature"
chlog add --type security "Fix security issue"

Those commands add the following content to the changelog file:

### Added

- New feature

### Security

- Fix security issue

Add a new release

The release command adds a new release to the changelog file.

chlog release 1.0.0

This command adds the following content to the changelog file:

--- CHANGELOG.md
+++ CHANGELOG.md
@@ -9,2 +9,4 @@

+## [1.0.0] - 2025-01-21

 ### Added
@@ -19,3 +21,4 @@

-[Unreleased]: https://example.com/compare/v0.1.0...HEAD
+[Unreleased]: https://example.com/compare/v1.0.0...HEAD
+[1.0.0]: https://example.com/compare/v0.1.0...v1.0.0
 [0.1.0]: https://example.com/releases/tag/v0.1.0

A date can be specified with the --date flag.

List all releases

The list command lists all releases in the changelog file.

chlog list

This command prints the following content:

1.0.0
0.1.0

Show all changes in a release

The show command shows all changes in a release.

chlog show 1.0.0

This command prints the following content:

## [1.0.0] - 2025-01-21

### Added

- New feature

### Security

- Fix security issue

Merge two or more changelog files

The merge command merges two (or more) changelog files.

chlog merge other/CHANGELOG.md

This command merges the content from other/CHANGELOG.md latest release into the current changelog file.

The source release to be merged can be specified with other/[email protected]. The destination release version can be specified with --version flag.

Multiple changelog files can be merged by specifying multiple files.

Credits

  • https://github.com/oscarotero/keep-a-changelog