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

bob-lens

v0.1.0

Published

Visual change intelligence for IBM Bob — see what AI changed, understand it, approve it.

Readme

Bob Lens

Visual Change Intelligence for IBM Bob — see what AI changed, understand it, approve it.

IBM Bob Hackathon 2026 npm Node License

Demo

Watch the demo video

What is Bob Lens?

Bob Lens is an npm package that runs alongside IBM Bob IDE. It visualizes AI-generated code changes in real time before you approve them. You get a side-by-side diff, an execution flow diagram with clickable nodes, and (for React) a before/after component preview. Everything is triggered automatically through IBM Bob’s MCP protocol.

Installation

Option 1 — Global install from GitHub (recommended)

npm install -g https://github.com/preyashyadav/bob-lens

Option 2 — From source

git clone https://github.com/preyashyadav/bob-lens
cd bob-lens
npm run install:all
npm link

Quick Start

# In any project directory
bob-lens init    # creates .bob/mcp.json, AGENTS.md, bob_sessions/
bob-lens start   # starts UI + sandbox + WebSocket bridge

Then: open http://localhost:3333; open your project in IBM Bob IDE → MCP Settings → bob-lens → Restart; enable MCP auto-approve; ask Bob to make changes and Bob Lens updates automatically.

What bob-lens init creates

| File | Purpose | |------|---------| | .bob/mcp.json | Connects IBM Bob IDE to Bob Lens via MCP protocol | | AGENTS.md | Instructs Bob to call notify_change after every file change | | .bobignore | Excludes Bob Lens cache files from Bob's context | | bob_sessions/ | Stores exported analysis reports |

Features

Side-by-side code diff: Character-level highlighting within each line, with line numbers. Git-style unified diff below.
Execution flow diagram: Before/after node graph; click nodes to inspect inputs, behavior, outputs; value-flow pills show data movement.
Component preview: For .jsx and .tsx, Puppeteer renders the React component before and after.
BobShell analysis: BobShell produces a summary, risks, and SAFE/REVIEW/RISKY verdict; export JSON to bob_sessions/.

How IBM Bob Is Used

Bob Lens integrates with IBM Bob at four levels:

| Integration | How | |-------------|-----| | MCP Protocol | Bob calls notify_change automatically after every file change | | BobShell | Bob Lens spawns bob -p "..." --output-format stream-json to analyze changes | | Checkpoints | Before-state read from Bob's shadow Git repo via git show HEAD:file | | AGENTS.md | Auto-generated file instructs Bob to always invoke MCP tools |

Architecture

bob-lens start
├── UI (React + Vite)       → http://localhost:3333
├── WebSocket Bridge        → ws://localhost:8080 (browser connects here)
└── Sandbox (Node.js)       → port 3334 (Puppeteer rendering)
IBM Bob IDE (via .bob/mcp.json)
└── MCP Server              → port 8082/8083
   ├── notify_change       → triggers UI update via broadcast
   ├── ask_bob             → spawns BobShell for analysis
   └── run_test            → sandbox execution

Requirements

  • Node.js 18+
  • IBM Bob IDE (installed and logged in)
  • IBM BobShell (bob --version should work in terminal)
  • Git

Screenshots

Execution flow diagram (React Flow)
Execution flow diagram

Side-by-side diff view
Side-by-side diff

Built For

IBM Bob Hackathon 2026 — "Turn idea into impact faster"

Built by Preyash Yadav