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

@nordbyte/nordrelay-auto-updater

v0.1.0

Published

Update visibility plugin for NordRelay peers, OS package managers, and global npm packages.

Downloads

81

Readme

NordRelay Auto Updater Plugin

Auto Updater is a NordRelay plugin that shows update visibility for Linux/macOS package managers and global npm packages on every peer where it is installed and enabled. Admins can explicitly run selected updates, update all listed updates, or uninstall global npm packages from the WebUI panel.

The plugin is self-contained. NordRelay provides plugin installation, peer routing, scheduling, permissions, and the WebUI panel container; all update checks, parsing, history, cleanup, and rendering logic lives in this plugin.

Install

Install on the current node:

nordrelay plugin install github:nordbyte/nordrelay-plugin-auto-updater --enable --approve

Install from a local checkout:

nordrelay plugin install /path/to/nordrelay-plugin-auto-updater --enable --approve

The npm package is published as:

@nordbyte/nordrelay-auto-updater

In the WebUI, open Plugins, select the target node in the header, and install the GitHub source. Use Install on all enabled peers to install the same plugin on reachable peers.

Capabilities

  • Collector: updates.snapshot
  • Commands: refresh, latest, panel-data, os-updates, npm-packages, update-os, update-npm, configure-npm-auto, uninstall-npm, history, export, storage-health, cleanup
  • Web panel: dashboard
  • Diagnostics: enabled

Required permissions:

system.packages.read
system.packages.write
system.updates.read
system.updates.write

The dashboard aggregates data only from peers where this plugin is installed, enabled, and approved.

What It Checks

Linux package managers:

  • apt list --upgradable
  • dnf check-update
  • pacman -Qu
  • zypper list-updates
  • snap refresh --list
  • flatpak remote-ls --updates

macOS:

  • softwareupdate -l
  • brew outdated --json=v2

All platforms:

  • npm ls -g --depth=0 --json --long
  • npm outdated -g --json --long

Windows currently reports npm package status only.

Update, uninstall, and automatic npm install actions run as the same operating-system user that runs NordRelay. The plugin does not use sudo, so package managers that require root privileges must be handled by running NordRelay with the required permissions or by using package managers that allow user-level updates.

Global npm packages can be configured individually for automatic installation. Each package has its own interval in hours or days. By default the automatic action installs only when the package is outdated; enabling Install latest also runs npm install -g <package>@latest when the package already reports the latest version.

Settings

| Setting | Default | Description | | --- | ---: | --- | | checkIntervalMs | 1800000 | Preferred collector interval in milliseconds | | retentionDays | 30 | Snapshot history retention in days | | commandTimeoutMs | 20000 | Timeout for individual package-manager commands | | updateTimeoutMs | 600000 | Timeout for package update or uninstall commands | | enableOsUpdates | true | Check Linux/macOS package-manager updates | | enableNpmPackages | true | Check global npm package versions | | npmRegistry | https://registry.npmjs.org | Registry used by npm outdated checks | | refreshPackageIndexes | false | Reserved for future explicit index refresh flows |

Data

Snapshots are stored in the plugin data directory:

~/.nordrelay/plugins/data/auto-updater/

The plugin writes:

  • updates.sqlite

Useful commands:

nordrelay plugin invoke auto-updater command refresh
nordrelay plugin invoke auto-updater command panel-data
nordrelay plugin invoke auto-updater command os-updates
nordrelay plugin invoke auto-updater command npm-packages
nordrelay plugin invoke auto-updater command update-os --input-json '{"packages":[{"manager":"apt","name":"openssl"}]}'
nordrelay plugin invoke auto-updater command update-npm --input-json '{"packages":["typescript"]}'
nordrelay plugin invoke auto-updater command configure-npm-auto --input-json '{"package":"typescript","enabled":true,"intervalValue":12,"intervalUnit":"hours","installLatest":false}'
nordrelay plugin invoke auto-updater command uninstall-npm --input-json '{"packages":["typescript"]}'
nordrelay plugin invoke auto-updater command history --input-json '{"range":"30d","limit":500}'
nordrelay plugin invoke auto-updater command export --input-json '{"format":"csv","range":"30d"}'
nordrelay plugin invoke auto-updater command storage-health
nordrelay plugin invoke auto-updater command cleanup

Development

npm run check
npm test