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

@khlesk/smart-update

v0.1.1

Published

Interactive CLI tool to update npm dependencies with version comparison and selective updates

Readme

smart-update

Interactive CLI tool to update npm dependencies with version comparison and selective updates.

Features

  • Interactive selection of packages to update or uninstall
  • Supports local project and global package modes
  • min-release-age awareness to protect against supply chain attacks

Requirements

  • Node.js >= 18.0.0
  • npm

smart-update is built for npm projects. It does not manage yarn, pnpm, or bun dependencies.

Install

npm install -g @khlesk/smart-update

Usage

smart-update            # Update local project dependencies
smart-update -g         # Update global packages
smart-update -b         # Bypass min-release-age for this run
smart-update -h         # Show help
smart-update -v         # Show version

How it works

  1. Scans your installed packages and checks for outdated versions
  2. Presents a table of packages with installed and latest versions
  3. Prompts you to choose an action:
    • Update all — update every outdated package
    • Update selected — pick specific packages to update
    • Uninstall selected — pick specific packages to remove
    • Set min-release-age — configure npm's supply-chain protection
    • Quit — exit without changes
  4. Runs the chosen operation and shows a before/after diff

Safety

smart-update runs real npm update and npm uninstall commands. Review the selected packages before confirming changes, and commit or stash important work first.

min-release-age

min-release-age is an npm config option that prevents installing packages published within the last N days. This gives the community time to detect and report malicious packages before they reach your project.

If min-release-age is not configured, smart-update will offer to set it up for you in npm's global config so it is shared across projects. Use --bypass-age to skip the check for a single run.

License

MIT