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

lazy-auditor

v1.0.1

Published

A lazy but inspiring TUI auditor for npm dependencies & vulnerabilities

Readme

🔍 Lazy Auditor

A beautiful Terminal User Interface (TUI) for npm security auditing. Get instant visual feedback on your dependencies and their vulnerabilities without leaving your terminal.

Lazy Auditor Demo

✨ Features

  • 🎨 Beautiful TUI: Intuitive interface with color-coded severity levels
  • ⚡ Fast Scanning: Quick dependency analysis with real-time vulnerability detection
  • 🎯 Detailed Reports: Comprehensive vulnerability details including CVE info, severity, and remediation steps
  • ⌨️ Keyboard Navigation: Full keyboard support with vim-like controls
  • 🖱️ Mouse Support: Click and scroll support for modern terminals
  • 📊 Statistics: Real-time vulnerability statistics and severity breakdown
  • 🔧 Smart Remediation: Actionable suggestions for fixing vulnerabilities

🚀 Installation

# Install globally
npm install -g lazy-auditor

# Or run directly with npx
npx lazy-auditor

🎮 Usage

Navigate to your project directory and run:

lazy-auditor

Keyboard Shortcuts

| Key | Action | | ------------------ | ------------------------------ | | ↑/↓ or k/j | Navigate dependency list | | Tab or | Switch to next panel | | Shift+Tab or | Switch to previous panel | | Space | Show details for selected item | | r or F5 | Refresh data | | h or ? | Show help dialog | | q or Ctrl+C | Quit application |

Mouse Controls

  • Click: Select items
  • Scroll: Navigate through content panels
  • Hover: Visual feedback on interactive elements

🖼️ Interface Overview

The interface is divided into three main panels:

📦 Dependencies Panel (Left)

  • Lists all installed packages
  • Shows version numbers
  • Displays vulnerability counts
  • Color-coded severity indicators

🚨 Vulnerability Details Panel (Top Right)

  • Detailed vulnerability information
  • CVE/CWE references
  • Severity levels and ranges
  • Direct links to security advisories

🔧 Suggested Actions Panel (Bottom Right)

  • Remediation recommendations
  • Update suggestions
  • Alternative package recommendations
  • Command-line instructions

🎨 Severity Color Coding

  • 🔴 Critical: Immediate action required
  • 🟣 High: High priority fixes
  • 🟡 Moderate: Medium priority
  • 🔵 Low: Low priority
  • 🔵 Info: Informational only

### Project Structure

lazy-auditor/ ├── bin/ │ └── lazy-auditor.js # CLI entry point ├── src/ │ ├── index.js # Main application logic │ ├── ui.js # TUI interface components │ ├── data.js # Data fetching and processing │ └── actions.js # Vulnerability analysis and remediation ├── package.json └── README.md


### Debug Mode

For troubleshooting vulnerability detection:

```javascript
import { startAppDebug } from './src/index.js';
startAppDebug(); // Shows raw audit data and processing steps

🔧 Configuration

Lazy Auditor works out of the box with no configuration required. It uses:

  • npm ls --json to get installed dependencies
  • npm audit --json to fetch vulnerability data
  • Built-in remediation suggestions based on npm best practices

🤝 Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Development Guidelines

  1. Code Style: Follow existing patterns and use meaningful variable names
  2. Error Handling: Always handle potential errors gracefully
  3. User Experience: Prioritize intuitive navigation and clear visual feedback
  4. Performance: Keep the interface responsive, even with large dependency lists

Common Issues & Solutions

Vulnerabilities not showing?

  • Ensure you're running in a directory with a package.json
  • Try npm audit --json manually to check if npm finds vulnerabilities
  • Use debug mode to see raw audit output

TUI not rendering properly?

  • Ensure your terminal supports Unicode and colors
  • Try resizing your terminal window
  • Check that your terminal has sufficient dimensions (minimum 80x24)

Navigation keys not working?

  • Different terminals may handle key bindings differently
  • Try alternative keys (arrow keys vs vim keys)
  • Ensure your terminal is focused and not capturing keys

📄 License

MIT License - see LICENSE file for details.

🙏 Acknowledgments

🐛 Issues & Support

If you encounter any issues or have suggestions:

  1. Check the existing issues
  2. Create a new issue with:
    • Your Node.js and npm versions
    • Terminal type and version
    • Steps to reproduce the problem
    • Expected vs actual behavior

📈 Roadmap

  • [ ] Priority Filtering: Filter by vulnerability severity
  • [ ] Export Reports: Save audit results to JSON/CSV
  • [ ] Package Details: Deep dive into package information
  • [ ] Dependency Tree: Visual dependency relationship mapping
  • [ ] Auto-fix: Automated vulnerability remediation
  • [ ] CI Integration: GitHub Actions/GitLab CI integration
  • [ ] Custom Themes: Configurable color schemes
  • [ ] Plugin System: Extensible analysis modules

Made with ❤️ for developers who care about security but love beautiful interfaces.