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

mermaid-to-hyperframes

v0.1.5

Published

Convert Mermaid flowchart .mmd files into HyperFrames motion graphics and MP4-ready projects.

Downloads

815

Readme

Mermaid to Hyperframes

npm version license: MIT

Convert Mermaid flowchart .mmd files into Hyperframes projects with seekable GSAP motion.

Unofficial HyperFrames community tool.

Demo

Each demo shows the source diagram next to the rendered motion graphic.

Quick Start

Create ./motion and render ./motion/output.mp4 in one command:

npx mermaid-to-hyperframes ./diagram.mmd --out ./motion --render

Preview without rendering an MP4:

npx mermaid-to-hyperframes ./diagram.mmd --out ./motion --open

Work with an already generated project:

cd ./motion
npx hyperframes preview
npx hyperframes render --output output.mp4

Local development from this repository:

npm install
npm run build
node dist/cli.js ./diagram.mmd --out ./motion --open

The generated project contains index.html, the original source.mmd, motion-plan.json, a local package.json, and commands for Hyperframes preview/render. Use --render when you want the MP4 immediately; omit it when you only want the editable Hyperframes project.

By default, --resolution fit sizes the MP4 canvas to the Mermaid SVG aspect ratio. Use --resolution landscape, --resolution portrait, or --resolution square when you want a fixed video format.

For a clean diagram-only render, captions are off by default. Add --captions on if you want a bottom explainer caption. The camera is static by default and fits the full diagram into frame; add --ken-burns on for a zoom-in, pan, and zoom-out camera path across dense diagrams.

Current Scope

  • Supported: Mermaid flowchart and graph
  • Output: Hyperframes HTML composition
  • Main effect: nodes and edges reveal in graph order from a stable camera

Limitations

This is not yet "any .mmd complexity, no caveats." v1 supports Mermaid flowchart / graph diagrams that Mermaid CLI can render into the standard flowchart SVG structure. Large diagrams render, but the result can become visually dense and the semantic reveal order is best-effort for advanced Mermaid syntax.

Development

Run the local checks:

npm install
npm run check
npm run check:fixtures

check:fixtures converts several real Mermaid flowcharts, including subgraphs, chained edges, styled nodes, branching paths, and a larger system diagram, then runs hyperframes lint on each generated project.

Human-reviewable fixture previews and MP4s live under test/fixtures/flowcharts. Regenerate them with:

npm run fixtures:previews