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

velvet-rope

v0.1.0

Published

Block installs of packages published within a configurable minimum age — a velvet rope for your dependencies

Readme

logo

On May 11, 2026, an attacker published 84 malicious versions across 42 @tanstack/* packages. The window between "published" and "detected" was 20 minutes. Anyone who ran npm install in that window ran credential-harvesting malware on their machine.

Twenty minutes.

npm trusts every package the moment it's published. No cooling-off period. No waiting for the security community to notice. velvet-rope adds that wait. Inspired by the TanStack supply chain compromise postmortem.

Renovate has minimumReleaseAge, but that only gates automated PRs — it doesn't stop you from running npm install some-package manually. This does.

What it does

Wraps npm install and checks the publish date of each package against the npm registry. If any package was published within the configured minimum age, the install fails with a clear error.

velvet-rope install @tanstack/react-router

✗ @tanstack/[email protected] was published 2 days ago (minimum: 7 days)

Blocked. Use --force or set VELVET_ROPE_BYPASS=1 to override.

Configuration

Add to package.json:

{
  "ageGate": {
    "minimumAge": "7 days"
  }
}

Usage

Install as a dev dependency:

npm install --save-dev velvet-rope

Use velvet-rope install instead of npm install when adding new packages:

velvet-rope install react@latest
velvet-rope install @angular/[email protected] @angular/[email protected]

To audit all direct dependencies against the registry:

velvet-rope check

Escape hatch

VELVET_ROPE_BYPASS=1 velvet-rope install   # CI override
velvet-rope install --force        # explicit override, logs a warning

Bypasses are always logged. There's no silent skip.