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

@jarve/bug-reporter

v0.4.2

Published

Bug reporter widget for Next.js apps. Reports flow to JARVE Agency dashboard.

Downloads

1,046

Readme

@jarve/bug-reporter

Bug reporter widget for Next.js apps. Reports flow to your JARVE Agency dashboard.

How it works

  1. A floating bug icon appears in the bottom-right corner of your app (sibling-aware — auto-stacks with other @jarve widgets)
  2. Click it to enter capture mode - hover over a section and click to screenshot it
  3. An AI assistant interviews the user to build a structured bug report
  4. The report (with screenshot, console errors, network errors, and AI conversation) is submitted to your JARVE Agency dashboard

Setup

1. Register your site

Go to your JARVE Agency dashboard at /admin/bug-reports/sites and:

  • Click Add Site
  • Enter your site name and color
  • Click Generate API Key
  • Copy the API key (starts with brk_)

2. Install

pnpm add @jarve/bug-reporter
# or
npm install @jarve/bug-reporter

3. Add Tailwind content path

The widget uses Tailwind CSS classes. Add the package to your Tailwind content configuration so the classes aren't purged.

Tailwind v4 (add @source in your CSS file):

@source '../node_modules/@jarve/bug-reporter/dist';

Tailwind v3 (add to content in tailwind.config.ts):

content: ['./node_modules/@jarve/bug-reporter/dist/**/*.{js,mjs}']

4. Wrap your layout

// app/layout.tsx
import { JarveBugReporter } from '@jarve/bug-reporter'

export default function RootLayout({ children }: { children: React.ReactNode }) {
  return (
    <html>
      <body>
        <JarveBugReporter
          apiUrl="https://www.jarve.com.au/api/bug-reporter/external"
          apiKey="brk_your_api_key_here"
          user={{ name: 'James', email: '[email protected]' }}
        >
          {children}
        </JarveBugReporter>
      </body>
    </html>
  )
}

5. Done!

Click the blue bug icon (bottom-right) to report bugs. They'll appear in your JARVE Agency dashboard.

Props

| Prop | Type | Required | Description | | ---------------- | --------------------------------- | -------- | -------------------------------------------------------------------------------------- | | apiUrl | string | Yes | Base URL for the external bug reporter API | | apiKey | string | Yes | Your site's API key (starts with brk_) | | buttonPosition | 'left' \| 'right' | No | Floating button position. Default: 'right'. Sibling-aware with other @jarve widgets. | | user | { name: string, email: string } | No | User info. If omitted, the AI will ask during conversation | | children | ReactNode | Yes | Your app content |

What gets captured

  • Screenshot of the clicked section
  • Page URL and section identifier
  • Device type, browser, OS, viewport size
  • Console errors (last 50)
  • Failed network requests (last 30)
  • Clicked element details (tag, text, selector path)
  • AI conversation transcript
  • Structured report (summary, expected/actual behavior, severity)

Requirements

  • React 18+
  • Tailwind CSS (v3 or v4)
  • Next.js recommended but not required