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

gitcliff-config-nick2bad4u

v1.4.0

Published

Shared git-cliff changelog configuration for Nick2bad4u repositories.

Readme

gitcliff-config-nick2bad4u

NPM license. NPM total downloads. Latest GitHub release. GitHub stars. GitHub forks. GitHub open issues. Codecov. Repo Checks.

Shared git-cliff changelog configuration for Nick2bad4u repositories.

The package ships:

  • cliff.toml, the reusable changelog template and commit parser configuration.
  • presets/*.toml, 17 standalone alternative layouts using the same parser.
  • docs/examples/*.md, deterministic rendered output for every preset.
  • A small JavaScript API for discovering published preset filenames.

Install

npm install --save-dev gitcliff-config-nick2bad4u git-cliff

git-cliff is a peer dependency because the consuming repository should control its CLI version. Use git-cliff 2.10.0 or newer; this config uses the commit statistics and release context fields added in that line.

Preset Styles

Use the default cliff.toml for this package's full GitHub-oriented changelog. Alternative styles include GitHub, GitLab, Azure DevOps, Keep a Changelog, Cocogitto, detailed, minimal, scoped, scope-sorted, statistics, unconventional, user-facing-only, monorepo, dependency-audit, and chronological-ledger views.

For example:

git cliff --config node_modules/gitcliff-config-nick2bad4u/presets/minimal-user-facing.toml --github-repo Nick2bad4u/my-package --unreleased

See the preset selection and provider guide for the complete matrix, exact filtering rules, GitHub/GitLab/Azure setup, and maintainer workflow. The rendered examples index shows the exact offline output produced by every preset from the same deterministic tagged history.

Recommended Scripts

Add these scripts to consuming repositories:

{
 "scripts": {
  "changelog:generate": "git cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/my-package --output CHANGELOG.md",
  "changelog:preview": "git cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/my-package --unreleased",
  "changelog:preview:offline": "git cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/my-package --unreleased --offline",
  "changelog:release-notes": "git cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --github-repo Nick2bad4u/my-package --current"
 }
}

Do not pass --strip all for release notes. The shared release-notes command intentionally emits the full rendered changelog section.

GitHub Metadata

The template renders GitHub-style release sections, release comparison notes, PR links, and first-time contributors. PR and contributor data requires git-cliff's GitHub integration, so keep release generation online and set GITHUB_TOKEN in CI to avoid unauthenticated rate limits.

Use --offline for deterministic local previews or template validation. Offline renders still validate the Tera template and repository links, but GitHub-only data such as first-time contributors is omitted.

Repository Links

The TOML file contains this package's repository as a fallback so it can generate its own changelog. In other repositories, pass the consuming repository explicitly with --github-repo owner/repo.

In GitHub Actions, set GITHUB_REPO once and omit --github-repo from the scripts:

env:
 GITHUB_REPO: "${{ github.repository }}"

Then use scripts like:

{
 "scripts": {
  "changelog:generate": "git cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --output CHANGELOG.md",
  "changelog:preview": "git cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --unreleased",
  "changelog:preview:offline": "git cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --unreleased --offline",
  "changelog:release-notes": "git cliff --config node_modules/gitcliff-config-nick2bad4u/cliff.toml --current"
 }
}

Template Preview And Validation

git-cliff renders cliff.toml with Tera. This package has no separate validator; the practical validation path is rendering a preview:

npm run changelog:preview:offline

If the TOML or Tera template is invalid, git-cliff exits non-zero. Use npm run changelog:preview when you also want to inspect GitHub PR and first-time contributor metadata.

Maintenance

Use docs/UPDATE_CHECKLIST.md when publishing a new version of this config or refreshing repositories that consume it.