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

@beomjk/emdd

v0.1.24

Published

CLI for Evolving Mindmap-Driven Development

Readme

EMDD: Evolving Mindmap-Driven Development

[!WARNING] This project is in an experimental stage. APIs and file formats may change without notice.

A methodology that gives structure to R&D exploration through an AI-maintained evolving knowledge graph -- without killing the exploration itself.

Table of Contents

Installation

Requires Node.js 20 or later.

npm install -g @beomjk/emdd

Or use directly with npx:

npx @beomjk/emdd <command>

Quick Start

With AI Assistant (recommended)

# 1. Initialize and connect
emdd init my-research --tool claude && cd my-research
claude mcp add emdd -- npx @beomjk/emdd mcp
# Windows: claude mcp add emdd -- cmd /c npx @beomjk/emdd mcp

# 2. Ask your AI to start
# "Load the EMDD context and help me create my first hypothesis."

Your AI guides you through the session cycle -- creating nodes, linking them, and recording episodes.

With CLI

# 1. Initialize
emdd init my-research && cd my-research

# 2. Create nodes and connect them
emdd new hypothesis "surface-cracks-from-stress"
emdd new experiment "stress-test-baseline"
emdd link exp-001 hyp-001 tests

# 3. Check graph health
emdd health

See the 5-minute tutorial for a full walkthrough, or the Quick Start Guide for a 15-minute deep dive.

Using with AI Assistants

EMDD exposes its full graph API via an MCP server -- 22 tools + 4 guided prompts that form a session cycle: context-loading (start) → work → episode-creation (end) → consolidation (maintenance) → health-review (review).

Claude Code (one-line setup):

claude mcp add emdd -- npx @beomjk/emdd mcp
# Windows: claude mcp add emdd -- cmd /c npx @beomjk/emdd mcp

Cursor, Windsurf, VS Code Copilot, Continue -- see the MCP Setup Guide for config snippets.

Auto-generate AI rules with emdd init --tool:

emdd init my-research --tool cursor   # creates .cursor/rules/emdd.mdc
emdd init my-research --tool all      # generates rules for all supported tools

Supported tools: claude (default), cursor, windsurf, cline, copilot, all.

What is EMDD?

Too much structure suffocates research. Too little structure evaporates it. Existing approaches each solve one piece -- Zettelkasten gives bottom-up emergence, HDD gives hypothesis testing, DDP gives risk prioritization -- but none of them track the relationships between what you know, what you don't know, and what to explore next. EMDD fills that gap: it is a lightweight, AI-maintained knowledge graph that structures your exploration as it happens, surfaces blind spots, and remembers every dead end so you never walk it twice.

Without EMDD

  • "I tried this last week... why didn't it work again?"
  • You re-attempt a dead-end approach because no one recorded why it failed.
  • No way to know which assumptions are still untested.

With EMDD

  • emdd health -- instantly see 3 untested hypotheses and 2 orphan nodes.
  • Failed experiments are recorded as Findings -- you never walk the same dead end twice.
  • emdd gaps -- "No experiment tests hyp-002" is detected automatically.

Who is it for?

  • Solo researchers or small teams doing exploratory R&D where the destination is unknown -- visual inspection R&D, architecture spikes, open-ended investigations.
  • Developers working with AI coding assistants (e.g., Claude Code) who want the AI to maintain the knowledge structure while they retain judgment.
  • Anyone who has lost track of what they tried last week, why they abandoned an approach, or which assumptions remain untested.
  • Teams that need more rigor than a scratchpad but less overhead than a project management system.
  • Researchers who want to know what to explore next, not just what they have already done.

The EMDD Equation

[!TIP]

EMDD = Zettelkasten's bottom-up emergence
     + DDP's risk-first validation
     + InfraNodus's structural gap detection
     + Graphiti's temporal evolution
     ─────────────────────────────────
       Autonomous maintenance and suggestions by an AI agent

Delegate cognitive load to the graph and the AI, but never delegate judgment.

How It Works

EMDD has three roles. The Researcher exercises taste and judgment -- deciding which directions are worth pursuing, creating hypotheses, and making intuitive leaps the graph cannot derive on its own. The Graph is the living knowledge structure: a map of what is known, what remains unknown, and what has been tried. The Agent (AI) is the graph's gardener -- maintaining connections, detecting patterns and gaps, and suggesting what to explore next. Suggestions are always suggestions, never decisions.

The Knowledge Graph

| Node Type | Purpose | |-----------|---------| | Knowledge | Confirmed facts, literature, domain rules | | Hypothesis | Testable claims with confidence scores and kill criteria | | Experiment | Units of work that validate or refute hypotheses | | Finding | Facts or patterns discovered from experiments (observations, insights, negatives) | | Question | Open research questions that need answers | | Decision | Recorded decisions with rationale and alternatives considered | | Episode | Record of one exploration session -- what was tried, what is next |

The Lifecycle

graph LR
    Q[Question] --> H[Hypothesis]
    H --> E[Experiment]
    E --> F[Finding]
    F --> K[Knowledge<br/><i>promoted</i>]
    F --> Q2[New Question<br/><i>the cycle continues</i>]

    style Q fill:#6c5ce7,color:#fff,stroke:none
    style H fill:#e17055,color:#fff,stroke:none
    style E fill:#00b894,color:#fff,stroke:none
    style F fill:#0984e3,color:#fff,stroke:none
    style K fill:#fdcb6e,color:#2d3436,stroke:none
    style Q2 fill:#6c5ce7,color:#fff,stroke:none

Hypotheses move through PROPOSED -> TESTING -> SUPPORTED / REFUTED / REVISED. Findings accumulate evidence. When a Finding has sufficient independent support, it is promoted to Knowledge. Refuted hypotheses are preserved -- the knowledge of why something failed is itself knowledge.

CLI Commands

Graph commands accept --graphDir <path>, --lang <en|ko>, and --json. Utility commands (init, graph, serve, export-html, mcp) accept only their own options as listed below.

Core

| Command | Description | |---------|-------------| | emdd init [path] | Initialize a new EMDD project (--tool claude\|cursor\|windsurf\|cline\|copilot\|all, --lang en\|ko, --force) | | emdd list | List nodes, optionally filtered by type, status, and/or date (--type decision\|episode\|experiment\|finding\|hypothesis\|knowledge\|question, --status, --since) | | emdd read <nodeId> | Read a node detail | | emdd new <type> <slug> | Create a new node (--title, --body, --lang) | | emdd link <source> <target> <relation> | Create an edge between two nodes (--strength, --severity FATAL\|WEAKENING\|TENSION, --completeness, --dependencyType LOGICAL\|PRACTICAL\|TEMPORAL, --impact DECISIVE\|SIGNIFICANT\|MINOR, --force) | | emdd unlink <source> <target> | Remove a link between nodes (--relation answers\|confirms\|context_for\|contradicts\|depends_on\|extends\|informs\|part_of\|produces\|promotes\|relates_to\|resolves\|revises\|spawns\|supports\|tests\|answered_by\|confirmed_by\|produced_by\|resolved_by\|spawned_from\|supported_by\|tested_by) | | emdd update <nodeId> | Update frontmatter fields on a node (--set, --transitionPolicy strict\|warn\|off) | | emdd done <episodeId> <item> | Mark a checklist item as done in an episode (--marker done\|deferred\|superseded) |

| Command | Description | |---------|-------------| | emdd neighbors <nodeId> | List neighbor nodes within BFS depth (--depth) | | emdd gaps | Show structural gaps in the graph | | emdd health | Show health dashboard | | emdd check | Check consolidation readiness | | emdd promote | Show promotion candidates | | emdd confidence | Propagate confidence scores through the graph | | emdd transitions | Detect available status transitions | | emdd kill-check | Check kill criteria alerts | | emdd branches | List hypothesis branch groups | | emdd lint | Lint the graph for schema errors | | emdd backlog | Show project backlog (open items, deferred, checklists) (--status pending\|done\|deferred\|superseded\|all) | | emdd analyze-refutation | Analyze refutation patterns in the graph | | emdd mark-consolidated | Record a consolidation date to reset episode counting (--date) |

| Command | Description | |---------|-------------| | emdd index | Generate the _index.md file | | emdd serve [path] | Start web dashboard server (-p, --port, --no-open) | | emdd export-html [output] | Export graph as standalone HTML file (--layout force\|hierarchical, --types, --statuses) | | emdd graph [path] | Generate _graph.mmd (Mermaid diagram) | | emdd mcp | Start MCP server (stdio transport) |

Phased Adoption

You do not need to adopt everything at once. Start lite and add structure as you need it.

| Phase | Duration | Node Types | Daily Overhead | You're doing it right when... | |-------|----------|------------|----------------|-------------------------------| | Lite | Week 1-2 | 4 (Hypothesis, Experiment, Finding, Episode) | ~15 min | You can open last week's Episode and immediately know what to do next | | Standard | Week 3-4 | 6 (+Knowledge, Question) | ~25 min | Findings regularly get promoted to Knowledge | | Full | Week 5+ | 7 (+Decision, all edge types, all ceremonies) | ~45 min | The graph tells you what to explore next |

See section 11 of the specification for details on each phase.

Documentation

  • Not a project management tool. No deadlines, no progress percentages -- it tracks what you know and what you don't.
  • Not a knowledge base. The value is in the tensions, contradictions, and gaps between information, not in tidy organization.
  • Not SDD with a graph bolted on. Direction emerges from exploration; the specification does not come first.
  • Not a personal knowledge management system. It is project-scoped working memory, not a second brain for a lifetime.
  • Not outsourcing research to AI. The AI prunes branches and points to empty ground. The researcher decides where to walk.

Contributing

Contributions are welcome -- whether that is trying EMDD on your own project and reporting what worked, proposing changes to the spec, or building tooling. See CONTRIBUTING.md for guidelines and the RFC process.

License

MIT