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

renoma

v0.4.1

Published

Opinionated package health checks

Readme

renoma 🩳🕵️

A recursive node_modules analyzer with opinionated package health checks.

NOTE: Please take every lint errors with a grain of salt! Not all suggested changes are necessary and worth the library maintainers' time to review. Make sure to measure and provide an appealing reason for maintainers to accept your PR.

Internally, the CLI uses these tools:

Usage

# Crawl all dependencies and check for issues (breadth first search)
npx renoma

# Only check 5 packages
npx renoma --limit 5

# If 2 packages have errors, exit automatically (helps with debugging)
npx renoma --error-limit 2

# Ignore some packages (comma-separated)
npx renoma --ignore my-pkg,other-pkg

# Show all passing and failing packages
npx renoma --verbose

# List all rules being used for linting (can be affected by --filter-rules)
npx renoma --list-rules

# Filter and run specific rules only. Supports * as wildcard (comma-separated).
npx renoma --filter-rules "regexp/strict,renoma/*"

Common commands:

# Ignore heavy packages
npx renoma --ignore typescript,prettier,eslint

# Find unused dependencies
npx renoma --filter-rules "renoma/no-unused-dependencies"

# Find unused and suspicious dependencies
npx renoma --filter-rules "renoma/*"

# Run publint only
npx renoma --filter-rules "publint"

# Show alternative dependencies used by packages (includes devDependencies)
npx renoma --filter-rules "depend/*"

Custom lint rules

renoma/no-missing-sourcemap-sources

For .js and .d.ts files that contain an inline sourcemap comment, and for .map files, the sourcemap "sources" field should reference an existing file. Missing references causes stacktraces to refer to non-existent code paths, making it harder to debug issues, in which case sourcemaps are doing more harm than good.

Sometimes this may be unintentional as the sourcemaps are useful for local development (as the original files exist there), but when published to npm, the original files are not published and causes the missing sources.

How to fix (either one of these):

  • Publish the original files to npm (e.g. .ts files)
  • Include the original files content in the sourcemap "sourcesContent" field (e.g. TypeScript's inlineSources option)
  • Remove the sourcemap entirely. If the built code is still readable, sourcemaps may not be as necessary.

renoma/no-suspicious-dependencies

Dependencies with values such as link: or npm: are flagged as suspicious. For example, "vite": "npm:[email protected]" makes it seem like it depends on vite, but in reality it depends on the my-vite-fork package, which might not be what most users expect.

How to fix:

  • Specify the dependency and the version directly, e.g. "my-pkg": "^1.2.3"

renoma/no-unused-dependencies

Dependencies that are not referenced in the source code are flagged as unused. This check works on a best-effort basis as dynamic references like import('vi' + 'te') are not detected, but generally can help identify actual unused dependencies too.

How to fix:

  • Remove the unused dependency from package.json

Sponsors

License

MIT