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

@visiblelightio/pnpm-catalog-lint-windows-arm64

v0.8.0

Published

Platform-specific binary for @visiblelightio/pnpm-catalog-lint

Readme

pnpm-catalog-lint

Lint pnpm workspaces to enforce the catalog: protocol.

A fast, zero-config linter that ensures your monorepo consistently uses pnpm catalogs for dependency version management. Written in Rust.

Installation

# Run directly
pnpm dlx @visiblelightio/pnpm-catalog-lint

# Or install as a dev dependency
pnpm add -D @visiblelightio/pnpm-catalog-lint

Usage

Run from your workspace root:

pnpm-catalog-lint

Or specify a path:

pnpm-catalog-lint /path/to/workspace

Example output

packages/app-a
  error[no-direct-version] 'react' uses "^18.2.0" in dependencies but is available in catalog: default. Use "catalog:" instead.

packages/app-b
  error[catalog-entry-exists] 'express' references "catalog:utils" in dependencies but catalog "utils" does not exist

pnpm-workspace.yaml
  warning[unused-catalog-entry] 'leftpad' ("^1.0.0") in the default catalog is never referenced

Found 3 issues (2 errors, 1 warning) in 9ms

Rules

no-direct-version (error)

A dependency uses a hardcoded version range (e.g. "^18.2.0") but that dependency is defined in a workspace catalog. It should use "catalog:" instead to ensure version consistency.

Dependencies using workspace:, link:, file:, or git: protocols are skipped.

catalog-entry-exists (error)

A catalog: or catalog:<name> reference points to an entry that doesn't exist in pnpm-workspace.yaml. This will cause pnpm install to fail.

Detects three cases:

  • Dependency not found in the default catalog
  • Named catalog doesn't exist
  • Dependency not found in the specified named catalog

unused-catalog-entry (warning)

A catalog entry is defined in pnpm-workspace.yaml but is never referenced by any package.json in the workspace. This may indicate a stale dependency that should be removed.

Options

pnpm-catalog-lint [PATH] [OPTIONS]

Arguments:
  [PATH]  Path to the workspace root [default: .]

Options:
      --exclude-rule <RULE>         Rules to exclude (repeatable, conflicts with --only-rule)
      --only-rule <RULE>            Run only specified rules (repeatable, conflicts with --exclude-rule)
      --exclude-package <PACKAGE>    Packages to exclude (repeatable, conflicts with --only-package)
      --only-package <PACKAGE>      Run only on specified packages (repeatable, conflicts with --exclude-package)
      --exclude-dependency <DEP>    Dependencies to exclude (repeatable, conflicts with --only-dependency)
      --only-dependency <DEP>       Run only on specified dependencies (repeatable, conflicts with --exclude-dependency)
      --fail-on-warnings            Exit with non-zero code on warnings
  -h, --help                        Print help
  -V, --version                     Print version

Examples

Exclude a specific rule:

pnpm-catalog-lint --exclude-rule unused-catalog-entry

Run only a specific rule:

pnpm-catalog-lint --only-rule no-direct-version

Exclude a package:

pnpm-catalog-lint --exclude-package my-legacy-app

Exclude a dependency:

pnpm-catalog-lint --exclude-dependency typescript

Fail CI on warnings too:

pnpm-catalog-lint --fail-on-warnings

Development

Requires Rust.

# Build
cargo build

# Run tests
cargo test

# Run against a workspace
cargo run -- /path/to/workspace

License

MIT