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

fast-ncu

v1.1.2

Published

An extremely fast alternative to npm-check-updates

Readme

⚡ fast-ncu

An extremely fast, lightweight, and zero-configuration alternative to npm-check-updates (ncu). It checks your package.json dependencies against the npm registry concurrently and upgrades them to the latest versions.

🚀 More than 3x faster than the original npm-check-updates on cold runs, and up to 300x faster on cached runs!

npm version TypeScript license


⚡ Performance Comparison (Benchmark)

Tested on a repository containing 78 dependencies (the npm-check-updates codebase itself):

| Tool | Concurrency | Cache | Time (Seconds) | Speedup | | :--- | :--- | :--- | :--- | :--- | | 🐢 Original ncu | Default | N/A | 2.75s | Baseline | | ⚡ fast-ncu (Cold) | 15 (Default) | Disabled | 2.70s | 1.0x | | 🚀 fast-ncu (Cold) | 30 | Disabled | 0.88s | 3.1x faster | | 🛸 fast-ncu (Warm) | 30 | Enabled (Hit) | 0.01s (10ms) | 275x faster |


🛠️ How it works (Why it's so fast)

Most developers don't realize how much overhead goes into checking package versions. Here is how fast-ncu achieves extreme performance:

1. Tiny payloads via /latest CDN Edge Endpoint

  • The Problem: Normal tools query https://registry.npmjs.org/<pkg> which returns the full package metadata (all historical versions, SHAs, dates, and readmes). For packages like typescript or aws-sdk, this JSON can be several megabytes.
  • The Solution: We query https://registry.npmjs.org/<pkg>/latest. This returns a tiny, CDN-cached JSON object containing only the latest version details (~2KB). Our benchmarks show that the /latest endpoint is over 4x faster to resolve than the standard packument endpoint.

2. High-Performance Concurrency Limiter

  • We developed an optimized, zero-dependency concurrency queue controller. It runs async HTTP requests in parallel with an adjustable limit (e.g. --concurrency 30), maximizing your network bandwidth without causing socket exhaustion or registry rate limits.

3. Ultra-Fast Startup Time (ESM + Zero Bloat)

  • By avoiding heavy CLI packages (like yargs, commander) and bulky utilities (like chalk), the entire Node.js runtime boots and prints output in under 40ms. We use native ES Modules and picocolors (which starts up instantly and has zero dependencies).

4. Smart Local Caching Layer

  • Subsequent runs are instantaneous. It safely stores the fetched versions in your system's temp directory (/tmp/fast-ncu-cache.json) for 5 minutes (configurable). A second run takes 10ms to check any number of packages!

📦 Installation

Run it on the fly using npx:

# Using fast-ncu
npx fast-ncu

# Or using the shorthand alias
npx fncu

Or install globally:

npm install -g fast-ncu

Once globally installed, you can use the command fast-ncu or its convenient shorthand fncu.


🚀 Usage

You can use the full name fast-ncu or the shorter shorthand fncu interchangeably:

# Check dependencies for updates (Safe - read only)
fncu

# Overwrite package.json with the upgraded versions
fncu -u

# Maximize speed by raising concurrency
fncu --concurrency 30

# Force bypass the cache
fncu --no-cache

⚙️ Options

  • -u, --upgrade Overwrite package.json with upgraded versions
  • --concurrency <num> Number of concurrent registry requests (default: 15)
  • --no-cache Disable local caching
  • -v, --version Show version of fast-ncu / fncu
  • -h, --help Show help

🧪 Tests

The project includes unit tests using Node's native test runner (zero external testing dependencies).

To compile and run tests:

npm run build
npm test

📄 License

MIT