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

@space307/publish-wizard

v1.0.0

Published

The easiest way to publish packages for projects using Lerna and NPM

Readme

Publish Wizard

The easiest way to publish packages for projects using Lerna and NPM.

The problem it solves

When publishing packages, it is necessary to follow the correct sequence of updates.

For example, we have three packages: A, B, C. B depends on A. C depends on B. If we want to update A, we need to update B and C (A -> B -> C).

We can specify versions of dependencies flexibly, but this does not help in the case of publishing an unstable version of a package (with next postfix, for example). Adding more packages will only make the problem of queuing worse.

Publish Wizard helps you not to think about the problem of queuing, allowing you to focus on what's important.

How it works

https://user-images.githubusercontent.com/8722478/125296270-c9e28b00-e32e-11eb-9938-adcd705e1912.mp4

  1. Select a package from the list
  2. Select the action:
    • Publish a prerelease
    • Publish a release (soon)
    • Show the update queue

Actions

Publish prerelease

  1. Select a postfix from the list
  2. Select the extent of changes
  3. Accept publish

Publish Wizard will repeat the cycle of questions for all the packages that need to be updated.

It will result in a queue of packages that have been published.

Published packages:

1. [email protected]
2. [email protected]
3. [email protected]

Publish release

Soon...

Show the update queue

Publish Wizard will display the queue of packages that need to be updated.

Bump packages in order:

1. my-awesome-package
2. kitty
3. mushroom
5. sandbox

Usage

  1. Make sure that the project uses Lerna and NPM
  2. Make sure that the prepublishOnly script is present in the packages:
{
  "name": "my-awesome-package",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
    "prepublishOnly": "<do-smth-before-publish>"
  }
}
  1. Install @space307/publish-wizard:
npm install --save-dev @space307/publish-wizard

# or

yarn add @space307/publish-wizard --dev
  1. Add the publish-wizard script to your root package.json:
  {
    "scripts": {
      "test": "echo \"Error: no test specified\" && exit 1",
+     "publish-wizard": "publish-wizard"
    }
  }
  1. Run Publish Wizard:
npm run publish-wizard

# or

yarn run publish-wizard

Advanced usage

You can specify custom postfixes and publish command through the config.

Publish Wizard supports three ways to define config.

  1. publish-wizard section in package.json:
"publish-wizard": {
  "postfixes": ["my", "awesome", "postfixes"],
  "publishCommand": "run my-awesome-command"
}
  1. or a separate .publish-wizard.json config file:
{
  "postfixes": ["my", "awesome", "postfixes"],
  "publishCommand": "run my-awesome-command"
}

Options description:

  • postfixes: list of postfixes that will be added to the standard list.

  • publishCommand: the command that will be called to publish. publish by default.

All options are optional.