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 🙏

© 2025 – Pkg Stats / Ryan Hefner

verzh

v1.0.21

Published

Versioning tool for managing project versions and releases

Downloads

559

Readme

verzh

verzh is a simple CLI tool for managing semantic versioning and git tagging in your projects. It helps automate version bumps, tagging, and pushing releases, making your release workflow more reliable and efficient.

Features

  • Bump version numbers (major, minor, patch, pre-release)
  • Create annotated git tags for each release
  • Push changes and tags to your remote repository
  • Interactive prompts to confirm actions and handle uncommitted changes

🔧 Usage

Run verzh without installing it globally:

  npx verzh [command]

Or install globally:

  npm install -g verzh
  verzh [command]

⚠️ Windows users: If verzh isn’t recognized after global install, it’s likely because your global npm binaries aren’t in your system PATH. To fix that:

Go to Environment Variables via your Start menu.

Edit the User or System Path.

Add:

%APPDATA%\npm

Restart your terminal or system.

Commands

| Command | Description | | ------------------- | ----------------------------------------------- | | verzh init | Initialize config and setup | | verzh bump -t [--type] -f [--force] | increments the current version or creates a brand new version | | verzh set -t [--tag] -f [--force] | Applies a specified version and sets it as current | | verzh push | Push an already created version | | verzh current | Display current version | | verzh preceded | Display preceded version |

Init

Set's up the configuration file that determines the workflow of this script.

verzh init

Bump version

  • Bumps the version according to the specified type and creates a git tag. The script will prompt you to confirm the version bump and handle uncommitted changes.
  • If you want to specify the type of bump, use the --type | -t option. Available types are:
    • patch
    • minor
    • major
    • pre-release
  • If --type | -t option is not set, the script checks the branch and applies PATCH bump for release branch and PRE-RELEASE bump for pre-realase branches.
  • If you want to skip the confirmation prompts, use the --force | -f option.
verzh bump -t patch

Set version

  • Sets the version to the specified tag and creates a git tag. The script will prompt you to confirm the version change and handle uncommitted changes.
  • Specify the tag using the --tag | -t option.
  • If you want to skip the confirmation prompts, use the --force | -f option.
verzh set -t 1.0.0

Push version

  • Push an already created tag to the remote repository.
  • If you want to skip the confirmation prompts, use the --force | -f option.
verzh push -t 1.0.0

Current version

  • Displays the current version of the project based on the verzh.config.json file.
verzh current

Preceded version

  • Displays the version that precedes the current version based on the verzh.config.json file.
verzh preceded

Configuration

Edit verzh.config.json to set your release branch, remote, and other options. Example:

{
  "current": "1.0.0",
  "precededBy": "",
  "releaseBranch": "main",
  "preReleaseBranches": {
    "develop": "alpha",
    "feature": "beta",
    "hotfix": "rc"
  },
  "autoPushToRemote": false,
  "updatePackageJson": false,
  "remote": "origin"
}

For preReleaseBranches the key is the branch name and value is the name of the pre-release. This will create tags like 1.0.2-alpa.24

License

MIT