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

@vtripathi/planview

v0.1.11

Published

Local MDX plan viewer — browse, comment, and export plan.mdx files in your browser

Readme

planview

A local web viewer for MDX plan files. Browse, read, comment, and export your plans from the browser — no database, no cloud, everything stays on disk.

Install & run

No cloning required. Use npx:

npx @vtripathi/planview --dir ./your-plans-directory

Then open http://localhost:3000.

Options

--dir <path>    Directory containing .mdx plan files (default: current directory)
--port <port>   Port to listen on (default: 3000)
-h, --help      Show help

Examples

# Plans are in a ./plans folder relative to where you run the command
npx @vtripathi/planview --dir ./plans

# Absolute path
npx @vtripathi/planview --dir /home/user/my-project/plans

# Different port
npx @vtripathi/planview --dir ./plans --port 4000

Plans directory structure

Place .mdx files directly inside the directory you pass to --dir:

plans/
  my-feature.mdx
  another-plan.mdx

Each file can have optional frontmatter:

---
title: My Feature Plan
---

# Content here

If no title is set in frontmatter, the first # heading is used. Comments are stored as <slug>.comments.json alongside the plan file, auto-created when you add the first comment.

Features

| Feature | Description | |---------|-------------| | Browse | Home page lists all .mdx files in the directory | | Read | Full MDX rendering with rich components, mermaid diagrams, and syntax highlighting | | Comment | Click any h2/h3 heading to add an inline note | | History | Side drawer shows git log for each plan file | | Export | "Export HTML" button — print or save as PDF from the browser |

Supported MDX components

Planview ships with built-in components you can use in your .mdx files:

Callout

<Callout type="info" title="Note">
  Something worth highlighting.
</Callout>

Types: info, warning, tip, danger

Tabs

<Tabs labels={["Option A", "Option B"]}>
  <Tab>Content for Option A</Tab>
  <Tab>Content for Option B</Tab>
</Tabs>

Steps

<Steps>
  <Step title="Install dependencies">Run `npm install`</Step>
  <Step title="Configure">Set your environment variables</Step>
  <Step title="Run">Execute `npm start`</Step>
</Steps>

Badge

<Badge variant="success">Completed</Badge>
<Badge variant="warning">In Progress</Badge>
<Badge variant="error">Blocked</Badge>
<Badge variant="info">Review</Badge>

CodeBlock

<CodeBlock language="typescript" title="example.ts">
const greet = (name: string) => `Hello, ${name}`
</CodeBlock>

Mermaid diagrams

Fenced code blocks tagged mermaid render as diagrams:

```mermaid
flowchart TD
  A[Start] --> B{Decision}
  B -->|Yes| C[Do it]
  B -->|No| D[Skip]
```

GFM task lists

- [x] Done
- [ ] Not done

Note: Raw markdown tables are not supported. Use a component instead.

Workflow with visual-plan

planview pairs with the visual-plan Claude Code skill. The skill authors structured MDX plan documents; planview displays them.

  1. Run /visual-plan in Claude Code to author a plan — output is a .mdx file
  2. Run npx @vtripathi/planview --dir ./plans to view it
  3. Click headings to comment, use the side drawer for git history
  4. Export HTML to share or save as PDF

Publishing / contributing

The package is published to npm at @vtripathi/planview.

To build and publish a new version:

npm run build        # builds Next.js standalone output + copies static assets
npm version patch    # bumps version
npm publish --access public