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 🙏

© 2025 – Pkg Stats / Ryan Hefner

node-package-updater

v1.0.1

Published

A simple tool to update all your npm dependencies

Readme

node-package-updater

node-package-updater upgrades your package.json dependencies to the latest versions, ignoring specified versions.

Installation

curl -fsSL https://raw.githubusercontent.com/GNURub/node-package-updater/main/install.sh | bash
go install github.com/GNURub/node-package-updater/cmd/npu@latest

or

npm install -g node-package-updater

Usage

A CLI application to manage dependencies

Usage:
  npu [flags]
  npu [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  upgrade     Upgrade to the latest version of the CLI
  version     Print the version number of NPU

Flags:
  -C, --cleanCache              Clean cache
  -c, --config string           Path to config file (default: .npmrc)
  -d, --dir string              Root directory for package search
  -D, --dryRun                  Show what would be updated without making changes
  -e, --exclude strings         Packages to exclude (can be specified multiple times)
  -h, --help                    help for npu
  -I, --include strings         Packages to include (can be specified multiple times)
  -i, --includePeer             Include peer dependencies
  -k, --keepRange               Keep range operator on version (default true)
  -l, --log string              Log level (debug, info, warn, error) (default "info")
  -m, --minor                   Update to latest minor versions
  -n, --noInstall               Do not install packages after updating
  -x, --nonInteractive          Non-interactive mode
  -M, --packageManager string   Package manager to use (npm, yarn, pnpm, bun)
  -p, --patch                   Update to latest patch versions
  -P, --production              Update only production dependencies
  -r, --registry string         NPM registry URL (default "https://registry.npmjs.org/")
  -s, --semanticVersion         Maintain semver satisfaction
  -t, --timeout int             Timeout in seconds for each package update (default 30)
  -V, --verbose                 Show detailed output
  -w, --workspaces              Include workspace repositories

Benchmarks

| Command | Mean [s] | Min [s] | Max [s] | Relative | | :---------- | ------------: | ------: | ------: | ----------: | | npu -x -n | 1.005 ± 0.144 | 0.885 | 1.367 | 1.00 | | ncu -u | 3.831 ± 0.298 | 3.519 | 4.504 | 3.81 ± 0.62 |

Summary

npu -x -n ran 3.81 ± 0.62 times faster than ncu -u