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

monkey-doc

v1.3.10

Published

A narrative-first documentation tool — a beautiful alternative to Storybook

Readme

Monkey-Doc

A narrative-first documentation tool — a beautiful alternative to Storybook.

Storybook = component documentation
Monkey-Doc = product guides + storytelling

Inspired by Notion, GitBook, and Vercel docs. Built with Vite, React, and MDX.

Installation

npm install -g monkey-doc@latest

Quick Start

# 1. Initialize docs in your project
monkey-doc init

# 2. Start the local documentation server
monkey-doc dev

Open http://localhost:5173 to see your docs.

Commands

monkey-doc init

Creates a /docs folder with example MDX files and a monkey-doc.config.ts config file.

monkey-doc dev

Starts a local documentation server with hot reload on MDX changes.

monkey-doc build

Builds a static site ready to deploy anywhere.

monkey-doc build                # → ./docs-dist/
monkey-doc build -o my-site     # custom output directory

Includes _redirects (Netlify / Cloudflare Pages) and .nojekyll (GitHub Pages) out of the box.

vercel docs-dist                # deploy to Vercel

Configuration

monkey-doc.config.ts at the root of your project:

export default {
  title: 'My Docs',
  description: 'Product documentation',
  github: 'https://github.com/your/repo',
};

What init creates

your-project/
├── docs/
│   ├── getting-started.mdx
│   ├── installation.mdx
│   ├── writing-guides.mdx
│   ├── components.mdx
│   └── best-practices.mdx
└── monkey-doc.config.ts

Docs structure

Any .mdx file inside /docs becomes a page. Nested folders become sections in the sidebar:

docs/
├── getting-started.mdx     → /getting-started
├── guides/
│   ├── writing.mdx         → /guides/writing
│   └── components.mdx      → /guides/components
└── reference/
    └── config.mdx          → /reference/config

MDX Components

Use these built-in components directly in your .mdx files:

<Callout>

<Callout type="info">This is an info callout.</Callout>
<Callout type="warning">Watch out!</Callout>
<Callout type="success">All good!</Callout>

<Steps>

<Steps>
  <Step title="Install">Run `monkey-doc init`</Step>
  <Step title="Write">Add `.mdx` files to `/docs`</Step>
  <Step title="Preview">Run `monkey-doc dev`</Step>
</Steps>

<Tabs>

<Tabs items={['npm', 'yarn', 'pnpm']}>
  <Tab>npm install -g monkey-doc</Tab>
  <Tab>yarn global add monkey-doc</Tab>
  <Tab>pnpm add -g monkey-doc</Tab>
</Tabs>

<Card>, <CodeBlock>, <Callout>, <Diff>, <FileTree>, <Mermaid> and more

Full component reference available in your local docs after monkey-doc init.

Features

  • Hot reload on MDX changes
  • Sidebar auto-generated from file structure
  • Table of contents from headings
  • Full-text search (⌘K)
  • Dark mode
  • Multi-language support
  • Export PDF
  • Deploy as static site

Requirements

  • Node.js 18+

License

MIT