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

@tenedev/version-bump

v0.0.1

Published

Update project version and create tag easily

Readme

version bump

Update project version and create tag easily

Build tests npm version JSR JSR Score License

Overview

A lightweight Node.js utility to bump semantic versions in manifest files (package.json, jsr.json,deno.json) and optionally create Git tags for releases.

Installation

# via npm
npm install @tenedev/version-bump

# via yarn
yarn add @tenedev/version-bump

# via pnpm
pnpm add @tenedev/version-bump

# via bun
bun add @tenedev/version-bump

# via Deno (using JSR)
deno add jsr:@tene/version-bump

# via JSR
npx jsr add @tene/version-bump

Usage

CLI

Add a script in your package.json:

"scripts": {
    "release": "npx @tene/version-bump"
}

Then run:

npm run release --type minor --tag --fullTag

Options

| Flag | Type | Default | Description | | -------------- | ------- | ------------------------------- | ----------------------------------------------------------------------------------------- | | --type | string | "patch" | Release type: major, minor, patch, premajor, preminor, prepatch, prerelease | | --preRelease | string | null | Pre-release identifier: alpha, beta, rc, next, etc. | | -m | string | "chore: release v\${version}" | Commit message template (\${version}, \${major}, \${minor}, etc. supported) | | --tag | boolean | false | Create Git tag(s) after bumping | | --fullTag | boolean | true | Create full version tag (v1.2.3) | | --major | boolean | false | Create v1 tag | | --minor | boolean | false | Create v1.2 tag | | --dry-run | boolean | false | Print what would happen without changing files or running Git commands |

Examples

1. Bump a patch version (default)

npm run release
# from 1.2.3 → 1.2.4

2. Bump a minor version and create tags

npm run release --type minor --tag --major --minor
# from 1.2.3 → 1.3.0
# creates tags: v1, v1.3, v1.3.0

3. Create a beta prerelease

npm run release --type prerelease --preRelease beta --tag
# from 1.2.3 → 1.2.4-beta.0
# creates tag: v1.2.4-beta.0

4. Dry run (no changes, just logs)

npm run release --type minor --dry-run

Programmatic API

You can also use it directly in your Node.js scripts:

import { run, versionBump, formatCommitMessage } from 'version-bump-tool';

// bump only
const next = versionBump('1.2.3', 'minor');
// → "1.3.0"

// format commit messages
const msg = formatCommitMessage('release: v${version}', '1.3.0');
// → "release: v1.3.0"

// full run (bump + git tags)
const bumped = run('minor', undefined, true, {
  commitMessage: 'release: v${version}',
  fullTag: true,
  major: true,
  minor: true,
});
// updates files + creates Git tags

Supported Files

  • package.json (npm)
  • jsr.json (JSR packages)
  • deno.json (Deno)

License

Released under the Apache-2.0 License.