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

@yousolution/node-red-contrib-you-npm-version-checker

v1.0.0

Published

Node-RED node to check npm package versions against the registry

Readme

node-red-contrib-you-npm-version-checker

NPM version Node-RED License: MIT Platform

A Node-RED node to check and update npm package versions against the official npm registry.

Install

npm

cd ~/.node-red
npm install node-red-contrib-you-npm-version-checker

Then restart Node-RED.

GitHub

cd ~/.node-red/nodes
git clone https://github.com/yourusername/node-red-contrib-you-npm-version-checker.git
cd node-red-contrib-you-npm-version-checker
npm install

Restart Node-RED.

Features

  • Check npm packages for outdated versions
  • Compare installed vs latest versions using semver
  • Periodic automatic checking (configurable interval)
  • Install package updates directly from Node-RED
  • Visual status indicators in the editor
  • Supports scoped packages (@scope/package)

Usage

Node Configuration

| Property | Description | |----------|-------------| | Name | Display name for the node | | Packages | Comma-separated list of npm packages to monitor | | Check Interval | Minutes between automatic checks (default: 60) | | Check on Start | Run check when node starts (default: true) | | Auto-update | Automatically update outdated packages (default: false) |

Input

Send any message to trigger a version check. You can also:

| Message Property | Description | |-----------------|-------------| | msg.packages | Array to override configured packages | | msg.update | Set to true to update a package | | msg.package | Package name to update (required when msg.update is true) |

Example - Trigger update:

{
  "update": true,
  "package": "lodash"
}

Outputs

The node has 3 outputs:

  1. All results - Complete array of package check results
  2. Summary - Summary with totals (total, outdated, upToDate, errors)
  3. Outdated only - Array of only outdated packages

Status Indicators

| Status | Color | Description | |--------|-------|-------------| | Ready | Grey | Initialized | | Checking... | Blue | Checking packages | | X outdated | Red | Packages need updating | | Up to date | Green | All packages current | | Updated: name | Green | Package updated successfully |

Example Payload (Output 1)

{
  "payload": [
    {
      "package": "lodash",
      "installed": "4.17.20",
      "latest": "4.17.21",
      "outdated": true,
      "diff": "patch"
    }
  ],
  "summary": {
    "total": 1,
    "outdated": 1,
    "upToDate": 0,
    "errors": 0
  },
  "timestamp": 1699999999999
}

Version Diff Values

  • major - Breaking change (e.g., 4.x.x → 5.0.0)
  • minor - New feature (e.g., 4.17.x → 4.18.0)
  • patch - Bug fix (e.g., 4.17.20 → 4.17.21)
  • not-installed - Package not found in node_modules
  • unknown - Unable to determine difference

Example Flow

[{"id":"1","type":"inject","z":"flow","name":"Check now","topic":"","payload":"","payloadType":"date","x":120,"y":100,"wires":[["2"]]},
 {"id":"2","type":"npm-version-checker","z":"flow","name":"Check packages","packages":"lodash,express","interval":"60","checkOnStart":true,"x":300,"y":100,"wires":[["3"],["4"],["5"]]},
 {"id":"3","type":"debug","z":"flow","name":"All results","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":550,"y":60,"wires":[]},
 {"id":"4","type":"debug","z":"flow","name":"Summary","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":550,"y":100,"wires":[]},
 {"id":"5","type":"debug","z":"flow","name":"Outdated","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","x":550,"y":140,"wires":[]}]

Requirements

  • Node.js >=14.0.0
  • Node-RED >=3.0.0
  • Internet connection (to query npm registry)

Troubleshooting

"Package not found" errors

  • Verify the package name at npmjs.com
  • Use full name for scoped packages (e.g., @babel/core)

Node not appearing in palette

  • Restart Node-RED after installation
  • Check Node-RED logs for errors

Timeout errors

  • Check internet connection
  • npm registry may be slow (try again later)

Development

# Run tests
npm test

# Build package
npm run build

License

MIT - See LICENSE file.