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

edododraw

v0.11.1

Published

A 100% code/syntax-to-diagram engine with the Excalidraw hand-drawn aesthetic, magic-move camera, scriptable + real-time annotations, animated arrows, and first-class Mermaid import.

Readme

EDodoDraw turns a small, LLM-friendly text language into beautiful hand-drawn diagrams, then lets you choreograph them (magic-move camera, step-by-step presentations) and annotate them (highlights, arrows, callouts) — in code or live, with everything round-trippable back to code.

scene {
  layout dag { direction: down }
  ellipse    hello "Hello 👋"                 { fill: yellow }
  rect       idea  "Diagrams as CODE"         { fill: blue }
  round-rect vibe  "…with the Excalidraw vibe" { fill: green }
  hello --> idea --> vibe
  vibe  ~> hello "loop"        // ~>  == an animated flowing arrow
}

Why it exists

Excalidraw is a joy to draw by hand. EDodoDraw is a joy to drive by code — while keeping the same pleasant look. It is built from the ground up (no Excalidraw runtime baggage), reusing only the good primitives: rough.js for strokes, dagre for layout, the Virgil/Excalifont hand-drawn font, and @excalidraw/mermaid-to-excalidraw for import.

Features

  • 100% code → diagram. The primary goal. A robust DSL (lexer → parser → compiler) with great error messages.
  • First-class Mermaid. Paste mermaid """ … """; ids are preserved so you can choreograph and annotate imported diagrams.
  • Magic-move camera. camera focus [db, cache] zoom 1.7 — smooth, interruptible, spring-eased. Pan/zoom by mouse too.
  • Timeline presentations. A timeline of beats turns a static diagram into a guided walkthrough.
  • Annotations, scripted + live. Highlight / underline / box / circle / point-at / callout / spotlight. Draw them with the toolbar, then commit to code.
  • More animated arrows than Excalidraw: flow, dash-march, draw-on, comet, gradient-flow, electric, pulse.
  • 15+ hand-drawn shapes + a plugin registry to add your own without touching the core.
  • Export to self-contained SVG (font embedded), PNG, or JSON.

Use it in your app

npm i edododraw
import { EdodoDraw } from "edododraw";

const edd = new EdodoDraw(document.getElementById("diagram"));
await edd.render(`
  scene {
    a([Start]) --> b[Do work] --> c{OK?}
    c -->|yes| d(Done)
  }
`);

A React wrapper lives at edododraw/react (<EdodoDrawView source={code} />), and a pure, DOM-free compiler (compileEdd(source) → { scene, diagnostics }) is exported for Node/SSR. See the Embed guide for the full API.

Run this repo (playground + docs site)

git clone https://github.com/vivmagarwal/edododraw.git
cd edododraw && npm install
npm run dev     # http://localhost:5273
npm test        # 200+ unit tests

Open the app, pick an example (Welcome · Flowchart · Architecture · Animated Arrows · Mermaid), and edit the code on the left — the diagram updates live.

Docs

The documentation lives in one place: https://vivmagarwal.github.io/edododraw/ — the language reference, camera/timeline, annotations, import/export, the embed guide, and the extend/plugins guide, alongside a live gallery and playground. The site renders the markdown in docs/ verbatim, so those files are the single source of truth (edit them, then redeploy). AI-agent guidance is in CLAUDE.md; design-notes/ holds historical design explorations that are not current documentation.

License

The bundled fonts (Virgil, Excalifont) are under the SIL Open Font License. See public/fonts/.