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

bug-analysis-platform-test

v1.0.6

Published

Bug Analysis Platform — AI-powered bug analysis and multi-agent workflow engine. Includes a React frontend, Express backend, and LangGraph multi-agent server.

Downloads

819

Readme

Bug Analysis Platform

An AI-driven bug analysis platform that automatically reproduces bugs, generates code fixes, and validates results using a multi-agent workflow. Distributed as an npm package — anyone on your team can install it globally and run the platform locally with a single setup command.


Prerequisites

  • Node.js v18 or later and npm v9 or later
  • MongoDB installed and running locally (default: mongodb://localhost:27017)

The following directories and files are included in the published package:

bin/           ← CLI entry point
src/           ← CLI source (setup wizard, build engine, start command)
backend/       ← Express REST API source
backend/frontend/  ← React + Vite UI build (compiled)
multi-agent-server/  ← LangGraph AI agent source
README.md
package.json

Quick Start

1. Install globally

npm i -g bug-analysis-platform-test

2. Setup (One-time)

bug-analysis setup

The wizard will prompt for:

| Prompt | Default | Description | |---|---|---| | MongoDB URI | mongodb://localhost:27017/bug-analysis | Connection string for your local MongoDB | | Backend server port | 11001 | Port for the API and frontend | | Multi-agent server port | 5500 | Port for the LangGraph agent server | | Server host URL | http://localhost | Base URL (change if deploying remotely) |

Setup will then:

  1. Save configuration to ~/.bug-analysis/config.json
  2. Copy source files to ~/.bug-analysis/
  3. Write .env files for each service from your answers
  4. Build the React frontend with Vite
  5. Patch the backend to serve the frontend statically and proxy socket.io to the agent server
  6. Install all service dependencies
  7. Verify the installation

3. Start the platform

bug-analysis start

This starts both the backend and the multi-agent server as a single process. Press Ctrl+C to stop all services.

4. Open the application

| Service | URL | |---|---| | Frontend (React UI) | http://localhost:11001 | | Backend API | http://localhost:11001/api/v1 | | Swagger API Docs | http://localhost:11001/api-docs | | Multi-agent Server | http://localhost:5500 |


Updating

bug-analysis update              # install the latest published version
bug-analysis update 1.0.6        # install a specific version

When an update is available, a new terminal window opens automatically showing the progress:

[Bug Analysis] Uninstalling old version...
[Bug Analysis] Installing latest version...
[Bug Analysis] Applying update to ~/.bug-analysis...
✓ Update complete — now on v1.0.x. Run 'bug-analysis start' to launch.

| What happens | Detail | |---|---| | Version check | Compares your installed version against the target on npm | | Up to date | Exits cleanly — nothing is changed | | Update available | Uninstalls old package, installs new one, copies backend and agent-server into ~/.bug-analysis | | Specific version | Bypasses the up-to-date check — can also be used to downgrade | | Config preserved | Your ~/.bug-analysis/config.json (ports, MongoDB URI) is never touched | | Database preserved | MongoDB data is completely unaffected |

After the update window shows "Update complete", restart the platform:

bug-analysis start

Re-running Setup

Setup is safe to re-run at any time — for example, after a package update or to change configuration. Existing values are shown as defaults so you only need to change what is different.

bug-analysis setup

Configuration is stored at ~/.bug-analysis/config.json and the built application lives in ~/.bug-analysis/.


Notes

  • MongoDB must be running before executing bug-analysis start. The backend exits on startup if it cannot connect.
  • To update to a newly published version, run bug-analysis update. Your configuration and database are preserved automatically.