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

@aicoders/vibe-code

v7.0.1

Published

Real-time code monitoring with teaching explanations, CLAUDE.md compliance checking, and interactive chat

Readme

Vibe Code

Real-time code monitoring tool that teaches you while you code. Features three powerful modes switchable with Shift+Tab: Diff Mode with teaching explanations, Rules Mode for CLAUDE.md compliance, and Chat Mode for interactive Q&A.

Quick Start

npx vibe-code

Or install globally:

npm install -g vibe-code
vibe-code

Features

🎓 One Unified Monitor with Three Modes

Switch between modes instantly using Shift+Tab:

1. 🔍 Diff Mode - Code Changes with Teaching

  • Shows exact git diff for every file change
  • Provides AI-powered explanations of what changed
  • Teaches programming concepts related to the changes
  • Helps you understand the "why" behind code modifications

2. 📋 Rules Mode - CLAUDE.md Compliance & Best Practices

  • Monitors code against your project's CLAUDE.md guidelines
  • Real-time security vulnerability detection
  • Performance issue identification
  • Best practice enforcement
  • Architectural pattern checking

3. 💬 Chat Mode - Interactive Q&A

  • Ask questions while coding
  • Get explanations about recent changes
  • Learn programming concepts on demand
  • Context-aware responses based on your code

Usage

Start Monitoring

npx vibe-code

Choose "Start Monitoring" from the menu, and the unified monitor will begin watching your files.

Mode Switching

Once monitoring starts, press Shift+Tab at any time to cycle through the three modes:

🎓 Vibe Code
─────────────────────────────────────────────────
🔄 Available Modes:
  • Diff - Code changes with teaching explanations
  • Rules - Monitor CLAUDE.md compliance
  • Chat - Interactive Q&A
─────────────────────────────────────────────────

✨ Switched to: 🔍 Diff Mode - See code changes with teaching explanations
Press Shift+Tab to switch modes • Ctrl+C to exit

Watch a Specific Directory

npx vibe-code watch /path/to/project

Initialize for Claude Code Integration

npx vibe-code init

Mode Examples

Diff Mode Example

🔍 Vibe Code - Diff Mode
══════════════════════════════════════════════════
📌 UPDATE #1 | 2:45:32 PM
══════════════════════════════════════════════════
📝 auth-service.js

Changes:
@@ -15,6 +15,8 @@
   const existingUser = await this.userRepository.findByEmail(email);
   if (existingUser) {
     throw new ValidationError('User already exists');
   }
+  
+  // Add rate limiting
+  await this.checkRateLimit(email);

🎓 What this change does:
This change modifies auth-service.js with 2 additions and 0 deletions. 
Key changes: Function implementation changed.

💡 Teaching: This uses async/await for handling asynchronous operations, 
making the code more readable than callbacks or promise chains.

Rules Mode Example

📋 Vibe Code - Rules Mode
─────────────────────────────────────────────────
📝 payment-handler.js 2:46:15 PM

🚨 Rule Violations:
  🚨 Hardcoded secrets detected! Use environment variables instead.
     Line 5
  🚨 SQL injection vulnerability! Use parameterized queries.
     Line 12

💡 Suggestions:
  💡 Use const/let instead of var for better scoping.
  💡 Consider adding "use strict" for safer JavaScript.

🧙 Senior Dev Suggestions:
  ⚠️ Synchronous file operations block the event loop. Use async versions.

Chat Mode Example

🎓 Vibe Code - Chat Mode
─────────────────────────────────────────────────
📁 Recent Changes:
  📝 auth-service.js 2:45:32 PM
  ✅ auth-service.test.js 2:46:15 PM

💬 Chat:
─────────────────────────────────────────────────
You: What changed in the auth service?

Teacher: File auth-service.js was modified.

This change modifies auth-service.js with 2 additions and 0 deletions.
Key changes: Function implementation changed.

💡 Teaching: This uses async/await for handling asynchronous operations,
making the code more readable than callbacks or promise chains.

You: What is rate limiting?

Teacher: Rate limiting is like a bouncer at a club - it controls how many 
requests someone can make in a given time period. It prevents attackers 
from trying thousands of passwords quickly!
─────────────────────────────────────────────────
💬 

CLAUDE.md Integration

The Rules Mode automatically reads your project's CLAUDE.md file to understand:

  • Project-specific commands
  • Architecture patterns to enforce
  • Security requirements
  • Performance guidelines

If no CLAUDE.md exists, it uses sensible defaults for security and best practices.

Chat Commands

In Chat Mode, you can use these commands:

  • /help - Show available commands
  • /clear - Clear chat history
  • /quit - Exit the program

Development

# Clone the repo
git clone https://github.com/yourusername/vibe-code.git
cd vibe-code

# Install dependencies
npm install

# Run locally
npm start

License

MIT