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

@vineyardbovines/calver

v2026.1.1

Published

calendar versioning (calver) plugins for release-it and auto-changelog

Readme

@vineyardbovines/calver

Calendar Versioning (CalVer) plugin for release-it and template for auto-changelog. Uses a fork of node-calver that modifies the version calculation to expect a format NPM will accept.

Usage

This package has 3 functionalities: release-it plugin, auto-changelog template, and a fork of node-calver that modifies the version calculation to expect a format NPM will accept.

# with package manager of choice
npm add -D @vineyardbovines/calver
# install peers
npm add -D release-it auto-changelog

calver

To use just the fork of node-calver, you can import the calver module and use the functions directly.

import { clean, suffix, prefix, initial, nt, ot, cycle, valid, toCalVerString } from "@vineyardbovines/calver/calver";

release-it

In your release-it configuration:

// .release-it.json
{
  "plugins": {
    "@vineyardbovines/calver/plugin": {
      "cycle": "month"
    }
  }
}

If publishing to NPM:

{
  "npm": {
    "publish": true,
    "ignoreVersion": true
  }
}

For full-fledged usage reference, look at this repo's own release-it config.

The format of version is always separated by . (dot). This is so that NPM will accept the version; versions split with other delimiters like - are invalid. The exception is prereleases, which are separated by - (dash).

The plugin will automatically increment the tag version if you've set prerelease: true in your release-it config.

If the date has changed between releases, the version will get reset to the next appropraite calver version, and minor/prerelease tags will be reset to 1.

auto-changelog

In your auto-changelog configuration, you can reference the template from this package by using the raw github URL. You'll also want to set the tagPattern to recognize calver tags.

// .auto-changelog
{
  "template": "https://raw.githubusercontent.com/vineyardbovines/calver/refs/heads/main/template/changelog-template.hbs",
  // important so auto-changelog recognizes calver tags
  "tagPattern": "^\\d{4}\\.\\d{1,2}\\.\\d+(-[a-zA-Z0-9.-]+)?$",
  // sort in the date descending order
  "sortCommits": "date-desc",

  // other recommended options
  "package": "./package.json",
  "unreleased": true,
  "commitLimit": false,
  "ignoreCommitPattern": "^release:",
}