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

@versu/plugin-node

v1.0.8

Published

Versu Node.js Plugin

Readme

versu

@versu/plugin-node - Node.js Adapter Plugin

Node.js adapter plugin for Versu. Provides support for detecting and updating versions in Node.js projects, including npm, yarn and pnpm workspace monorepos.

Installation

npm install @versu/core @versu/plugin-node

Usage

Once installed, the plugin is discovered automatically from node_modules (or list it explicitly in the plugins array of your versu.config.js):

import { VersuRunner } from "@versu/core";

const runner = new VersuRunner({
  repoRoot: "/path/to/repository",
  adapter: "node", // Optional - auto-detected
  // ...other options as needed
});

const result = await runner.run();

Auto-Detection

The plugin automatically activates when package.json is present in the repository root.

Workspace Support

Workspace members are discovered from:

  • the workspaces field of the root package.json (npm / yarn, array or { packages: [] } form), or
  • pnpm-workspace.yaml (packages globs) when the root package.json declares no workspaces.

Projects without workspaces are handled as a single root module.

Dependencies between workspace packages (dependencies, devDependencies, peerDependencies, optionalDependencies) are used to build the dependency cascade: bumping a package also affects the packages that depend on it.

Notes

Version updates

  • Module IDs use Gradle-style notation: : for the repository root and :packages:core for a nested workspace package.
  • A module's package.json version is updated only when that module already declares one.
  • Internal dependencies in dependencies, devDependencies, peerDependencies, and optionalDependencies are updated when they refer to a package whose version is changing. Simple version ranges keep their operator and workspace: prefix (for example, ^1.2.3 becomes ^2.0.0, and workspace:~1.2.3 becomes workspace:~2.0.0).
  • Specs without a single concrete version are left unchanged. This includes *, workspace:*, workspace:^, workspace:~, file:, link:, git and URL specs, and compound ranges.

Lockfile synchronization

After a manifest changes, the plugin synchronizes any matching lockfile that already exists. Workspace changes also check the shared repository-root lockfiles.

| Lockfile | Synchronization command | | --- | --- | | package-lock.json, npm-shrinkwrap.json | npm install --package-lock-only --ignore-scripts --no-audit --no-fund | | pnpm-lock.yaml | pnpm install --lockfile-only --ignore-scripts --no-frozen-lockfile | | yarn.lock (Yarn 3+) | yarn install --mode=update-lockfile, with immutable installs and lifecycle scripts disabled | | yarn.lock (Yarn Classic / v1 or Yarn 2) | Full yarn install, because these versions do not provide lockfile-only mode; lifecycle scripts are disabled and lockfile updates are allowed |

The relevant package manager must be available on PATH. If synchronization fails, the update fails rather than leaving changed manifests with stale lockfiles. When more than one lockfile type is present, each matching updater runs; directories without that updater's lockfile are skipped.

📄 License

MIT License - see LICENSE for details.