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

@turquoise-dragonfly/versionate

v1.0.0

Published

Update the software version in multiple files with different formats

Downloads

9

Readme

versionate

Update the software version in multiple files with different formats. Allows you to work with version numbers with any number of fragments, for example 1.2.3.4.5.

Install

npm i -g @turquoise-dragonfly/versionate

Usage

$> versionate init
$> versionate set 1.0.0-1
$> versionate show
Current version: 1.0.0-1

$> versiontate bump prerelease
$> versionate show
Current version: 1.0.0-2

$> versionate bump MINOR
$> versionate show
Current version: 1.1.0

Commands

Init project

Initialize a project by creating an empty .versionate file.

versionate init

Track files

Adds a file containing a version to manage to the project. XML, JSON, TypeScript and properties files are supported.

versionate track path type location

  • path The path of the file to add
  • type The file format: xml, json, ts or properties
  • location The location of the version number in the file content

Untrack files

Delete a file from the project so that it is no longer managed.

versionate untrack path

Show current version

Shows the current version of the managed files.

versionate show

Example:

$> versionate show
Current version: 1.0.0

In case of inconsistency between the versions of the files, it will be displayed.

$> versionate show
Files do not have the version number synchronized!!
Consider using the set command to synchronize versions across all files.
Versions found:
  * 0.0.1 (2 files)
  * 0.2.1 (1 files)

The verbose option will offer more precise information.

$> versionate show -v
Files do not have the version number synchronized!!
Consider using the set command to synchronize versions across all files.
Versions found:
  * 0.0.1 (2 files)
  * 0.2.1 (1 files)
Details:
  * 0.0.1 (plugin-package.properties)
  * 0.0.1 (version.pvd.xml)
  * 0.2.1 (environment.prod.ts)

Set a fixed version

Establishes the indicated version in all managed files.

versionate set version

Example:

$> versionate show
Current version: 1.0.0

$> versionate set 1.2.3

$> versionate show
Current version: 1.2.3

Increment a version fragment

Raises the indicated chunk of the version, setting the chunks to its right to 0.

versionate bump fragment

  • fragment The fragment to increase.
    • MAJOR The first chunk
    • MINOR The second chunk
    • PATCH The third chunk
    • prerelease The prerelease version
    • <number> Number indicating the position of the fragment to be incremented, starting at 1.

Example:

$> versionate show
Current version: 1.0.0

$> versionate bump MINOR
$> versionate show
Current version: 1.1.0

$> versionate bump PATCH
$> versionate show
Current version: 1.1.1

$> versionate bump prerelease
$> versionate show
Current version: 1.1.1-1

$> versionate bump 2
$> versionate show
Current version: 1.2.0