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

@moodboom/git-semver

v5.0.5

Published

An automated git semantic versioning command line system to optimize any developer's git workflow. Shave off hours of git tedium.

Readme

git-semver

An automated git semantic versioning command line system to optimize any developer's git workflow. Shave off hours of git tedium.

  • Easily add semantic versioning to all your git repositories, and integrate the versioning into your apps.* Includes support for automated semver publishing of node modules.* Also includes extended tooling for git, including pretty log output.

Common usage: git-sync [--major|--minor] My commit message The git-semver mantra:

Automatically tag your code with a semantic version every time you push

Git-semver facilitates semantic versioning of git repositories. Following semantic versioning guidelines, developers can tag major/minor/patch releases without knowing numeric tag details. Instead, the developer can focus on whether commits since the last tag include breaking changes (major), addition of new functionality (minor), or bugfixes (patch).

To painlessly kick things off, just start using git-sync to push your changes. This automatically applies semantic version tags to your code, starting with v0.0.0. Use --major when pushing breaking changes, and --minor when pushing new features. Other than that, it should all be automatic.

In more complex continuously automated environments, git-semver provides a framework for you to stamp the "next version" into your code base right before pushing. Best practice is to create an app-specific "stamp" script for your app, and use it for every commit. Any type of app is supported, through a generic callback; npm module publishing is also supported. See git-semver-sync-cmd.js for a complete example that is used to publish git-semver itself.

git-sync is the primary command. It automates version stamping through a rebased push:

stash, pull --rebase, stash pop, determine "next" version, stamp, commit, tag, push, publish

git-sync will drop you back to the command line on any conflicts. Automating this workflow can save hours.

NOTE you don't have to quote your commit message if it is standard text. Messages with [-?&|'] etc. should be quoted.

Common commands:

  • git-sync [--major|--minor|--patch] [msg msg...] > best-practice-merge-and-tag any repo in one step with this flow: stash, pull, pop, stamp, commit, tag, push

  • git-sync-notag a git-sync version to commit code without a tag; bad form perhaps, but up to you

  • get-npm-adjusted-version this ensures stamped version is bumped beyond version in package.json

  • git-log [--branch|-b name] [count] > an opinionated pretty colored git log, clipped to ~110 chars

  • git-branchlog [--branch|-b name OR -all|-a] [--with-commits|-c] > an opinionated branch summary log

  • git-tag-list > list tags, including one line from the annotaged tag's commit message

  • git-skip [file] > tell git to start ignoring upstream and local changes to the given file

  • git-noskip [file] > tell git to stop ignoring upstream and local changes to the given file

  • git-skiplist > list the files for which git is currently ignoring upstream and local changes

  • npm-update-version [version] > inject the current version into package.json

  • gsv sync [--major|--minor] [msg msg...] > dogfooding 101: use git-semver to publish git-semver

  • gsv update update the local install of git-semver

  • list-commands lists all available commands

See https://bitpost.com/news for more bloviating. Devs don't need no stinkin ops. Happy automating! :-)

Most recent commits... 9b6438d 12 months .. Fix const to let HEAD -> mai.. Michael Behrns-Miller [cob.. 9ef5dd7 1 year ago Update eslint dev dep tag: 5.0.3 Michael Behrns-Miller [cob.. 724ad0d 1 year ago Fix a const to let tag: 5.0.2 Michael Behrns-Miller [cob.. 8628602 1 year ago Fix version bump bug tag: 5.0.1 Michael Behrns-Miller [cob..

Version 5.0.5