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

create-vexdocs-app

v1.0.0

Published

Create a new Vexdocs documentation project

Readme

create-vexdocs-app

Create a new Vexdocs documentation project with the latest version from npm.

Quick Start

# Create a new project
npx create-vexdocs-app my-docs

# Or just run and it will prompt for folder name
npx create-vexdocs-app

What it does

  1. Downloads the latest vexdocs from npm
  2. Extracts all files (src/, assets/, vexdocs executable, docs/)
  3. Creates a complete project with everything included
  4. Sets up ready-to-use documentation with examples and guides

Project Structure

The command creates a complete vexdocs project:

my-docs/
├── src/                  # Vexdocs source files
├── assets/               # Theme assets
├── vexdocs               # Executable
├── docs/
│   ├── config.json      # Configuration
│   └── v1.0/            # Default version
│       ├── README.md    # Example documentation
│       ├── guides/      # Documentation guides
│       └── ...          # Complete documentation examples
├── package.json          # Project configuration
└── README.md            # Project info

Features

  • Latest version - Always downloads the newest vexdocs
  • Complete setup - All files included, no dependencies needed
  • Full documentation - Includes all guides and examples
  • Zero configuration - Works out of the box
  • Offline ready - No internet needed after creation
  • Executable included - Local vexdocs command available

Usage

Basic Usage

npx create-vexdocs-app my-docs

This will prompt you for the project name if not provided.

After Creation

cd my-docs
npm start          # Start development server
npm run build      # Build for production

Commands Available

Once created, you can use:

# Development
npm start          # Start server
npm run dev        # Development mode

# Production
npm run build      # Build static site
npm run serve      # Serve built files

# Direct vexdocs commands
./vexdocs serve    # Start server
./vexdocs build    # Build site
./vexdocs dev      # Development mode

Configuration

The generated docs/config.json includes:

{
  "title": "My Documentation",
  "description": "Project documentation",
  "versions": {
    "v1.0": "Latest"
  },
  "defaultVersion": "v1.0",
  "theme": {
    "primaryColor": "#007acc",
    "sidebarWidth": "300px"
  },
  "sidebarOrder": {
    "v1.0": [
      "getting-started.md",
      {
        "folder": "guides",
        "items": [
          "deployment.md",
          "markdown-guide.md",
          "troubleshooting.md"
        ]
      },
      "api-reference.md",
      "configuration.md",
      "setup.md"
    ]
  }
}

Customization

Adding Content

  1. Edit files in docs/v1.0/ directory
  2. Add new .md files for more pages
  3. Create new version directories for multiple versions

Styling

Edit docs/config.json to customize:

  • Site title and description
  • Theme colors
  • Sidebar width
  • Version labels
  • Sidebar order

Examples

Create a React Documentation

npx create-vexdocs-app react-docs
cd react-docs
npm start

Create an API Documentation

npx create-vexdocs-app api-docs
cd api-docs
npm start

Learn More

License

MIT License - see the LICENSE file for details.