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

@markmdev/pebble

v0.1.12

Published

A lightweight JSONL-based issue tracker with CLI and React UI

Readme

pebble

A lightweight, JSONL-based issue tracker with CLI and React UI.

Features

  • Simple storage: Append-only JSONL file enables full history
  • Git-like discovery: Auto-discovers .pebble/ directory upward
  • JSON-first output: JSON by default, --pretty for human-readable
  • Dependencies: Block issues on other issues, cycle detection
  • React UI: View issues, filter, sort, dependency graph visualization

Installation

npm install -g @markmdev/pebble

After installation, the pb command is available globally.

Quick Start

# Create your first issue (auto-initializes .pebble/ directory)
pb create "Fix login bug" -t bug -p 1

# List all issues
pb list

# Show ready issues (no open blockers)
pb ready

# View in the browser
pb ui

Commands

Queries

| Command | Description | |---------|-------------| | pb ready | Issues with no open blockers | | pb blocked | Issues with open blockers | | pb list [options] | List issues with filters | | pb show <id> | Full issue details |

Mutations

| Command | Description | |---------|-------------| | pb create <title> [options] | Create an issue | | pb update <ids...> [options] | Update issues (supports batch) | | pb claim <ids...> | Set status to in_progress (shorthand) | | pb close <ids...> [--reason] [--comment] | Close issues (supports batch) | | pb reopen <id> [--reason] | Reopen an issue |

Dependencies

| Command | Description | |---------|-------------| | pb dep add <id> <blocker> | Add blocking dependency | | pb dep remove <id> <blocker> | Remove dependency | | pb dep list <id> | Show dependencies | | pb dep tree <id> | Show dependency tree |

Comments & Visualization

| Command | Description | |---------|-------------| | pb comments add <id> <text> | Add a comment | | pb graph [--root id] | Show dependency graph | | pb ui [--port 3333] | Serve React UI |

Options

Global

  • --pretty — Human-readable output (default: JSON)
  • --help — Show help

Create

  • -t, --type <type> — Issue type: task, bug, epic (default: task)
  • -p, --priority <n> — Priority: 0=critical, 4=backlog (default: 2)
  • -d, --description <text> — Description
  • --parent <id> — Parent epic ID

List

  • --status <status> — Filter by status
  • --type <type> — Filter by type
  • --priority <n> — Filter by priority
  • --parent <id> — Filter by parent

Update

  • --status <status> — Set status
  • --priority <n> — Set priority
  • --title <text> — Set title
  • --description <text> — Set description

Data Model

Issue

{
  id: string;           // PREFIX-xxxxxx
  title: string;
  type: 'task' | 'bug' | 'epic';
  priority: 0-4;        // 0=critical, 4=backlog
  status: 'open' | 'in_progress' | 'blocked' | 'closed';
  description?: string;
  parent?: string;      // Parent epic ID
  blockedBy: string[];  // IDs of blocking issues
  comments: Comment[];
  createdAt: string;
  updatedAt: string;
}

Storage

All data is stored in .pebble/issues.jsonl as append-only events:

  • create — New issue
  • update — Field changes
  • close — Close with reason
  • reopen — Reopen with reason
  • comment — Add comment

UI Features

The React UI (pb ui) provides full CRUD capabilities with real-time updates:

  • Issue List: Hierarchical view (epics with children), sorting, filtering, search
  • Create Issues: "New Issue" button opens creation dialog
  • Inline Editing: Click title to edit, status/priority dropdowns, description editing
  • Issue Actions: Close/reopen, add comments, manage blockers
  • Dependency Graph: Interactive visualization with parent-child and blocker edges
  • History View: Timeline of all events, filterable by type
  • Real-time Sync: Changes from CLI automatically appear in UI via SSE
  • Breadcrumbs: Navigation trail for easy orientation

Business Rules

  1. Ready: Non-closed issue where all blockedBy issues are closed
  2. Blocked: Issue has at least one open blocker
  3. Epic close: Cannot close epic if any child is not closed
  4. Cycle detection: Cannot create circular dependencies
  5. ID resolution: Partial IDs work (case-insensitive prefix match)

Development

# Install dependencies
npm install

# Build
npm run build

# Run tests
npm test

# Type check
npm run typecheck

License

MIT