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

@procyon-creative/plugin-updater

v1.1.0

Published

A CLI tool and library to update WordPress plugin versions for YahnisElsts/plugin-update-checker

Readme

@procyon-creative/plugin-updater

A CLI tool and library to update WordPress plugin and theme versions for YahnisElsts/plugin-update-checker.

I created it to be used with my plugin-boilerplate, but it can be used as a standalone tool if you are also tired of updating multiple files every time you release an update.

Installation

Install the package using npm:

npm install @procyoncreative/plugin-updater

Usage

CLI

From inside your plugin or theme directory:

plugin-updater <slug> [--version=<number>] [--message=<string>] [--type=plugin|theme]
  • <slug>: The slug of your plugin or theme (required).
  • --version, -v: The new version number (optional, defaults to the next patch version).
  • --message, -m: The release message for the changelog (optional, defaults to "Release").
  • --type, -t: plugin or theme. Optional — auto-detected from the directory contents.

Auto-detection

The tool decides what kind of project it's in based on which files it finds:

  • Theme — there is a style.css containing a Theme Name: header.
  • Plugin — there is a <slug>.php with a Version: header, or a plugin.json.

Pass --type if you need to force one over the other.

What gets updated

Plugin:

  • plugin.json — the version field
  • <slug>.php — the Version: header
  • readme.txt — a new entry under == Changelog ==

Theme:

  • style.css — the Version: header
  • readme.txt — a new entry under == Changelog == (if the file exists)
  • CHANGELOG.md — a new ## <version> - <date> entry, replacing ## Unreleased if found, otherwise inserted above the most recent existing entry

Examples

plugin-updater my-plugin --version=1.1.0 --message="Bug fixes"
plugin-updater my-theme --version=2.0.0 --message="Redesign" --type=theme
plugin-updater my-plugin --message="Patch release"   # auto-bumps patch

Library

You can also use the library programmatically.

const { updateVersion } = require('@procyoncreative/plugin-updater');

// Auto-detected type
updateVersion('my-plugin', '1.1.0', 'Bug fixes and improvements');

// Forced type
updateVersion('my-theme', '2.0.0', 'Redesign', { type: 'theme' });

Testing

Run the tests using Mocha:

npm test

Linting

Lint the code using ESLint:

npm run lint

License

MIT © Nick Galvez