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

@lets-release/calver

v4.0.0

Published

Let's Release calver library

Readme

@lets-release/calver

lets-release internal utilities for handling calendar versions and schemes.

CalVer Specification

This library follows the specification from calver.org, but with some additional constraints.

Scheme

A valid calver scheme consists of the following parts:

Major Version (required)

A major version is a calendar-based version, which can use the following tokens:

  • YYYY - Full year - 2006, 2016, 2106
  • YY - Short year - 6, 16, 106
  • 0Y - Zero-padded year - 06, 16, 106
  • MM - Short month - 1, 2 ... 11, 12
  • 0M - Zero-padded month - 01, 02 ... 11, 12
  • WW - Short week (since start of year) - 1, 2, 33, 52
  • 0W - Zero-padded week - 01, 02, 33, 52
  • DD - Short day - 1, 2 ... 30, 31
  • 0D - Zero-padded day - 01, 02 ... 30, 31
Constraints
  1. Any token value MUST be a positive integer.
  2. Only ., _, - are valid separators.
  3. MM, WW, DD MUST separate from other token with a separator.
  4. Duplicate tokens are not allowed. For example, YYYY cannot use with YY or 0Y.
  5. Year token is required.
  6. Week token MUST be a valid week number of the year.
  7. Week token MUST NOT be used with month token or day token.
  8. Month token MUST be a valid month.
  9. Day token MUST be a valid day of the month and year.
  10. Day token MUST be used with month token.

Minor Version (optional, MUST be used with micro version)

A minor version MUST be a non-negative integer, and separated from major version with a separator.

Micro Version (optional)

A micro version MUST be a non-negative integer, and separated from major version or minor version with a separator.

Modifier (optional)

A modifier can consist of the following parts:

Prerelease Version

A prerelease version MUST be a series of dot separated identifiers and the first character MUST NOT be a digit. Identifiers MUST consist of only ASCII alphanumerics, hyphens, and dashes [0-9A-Za-z_-]. A prerelease MUST immediately follow the main version, and MAY be separated with a separator.

Build Metadata

A build metadata MUST be a series of dot separated identifiers. Identifiers MUST consist of only ASCII alphanumerics, hyphens, and dashes [0-9A-Za-z_-]. A build metadata MUST be the last part and MUST be separated with a plug +.