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

@fezcode/runir

v1.0.2

Published

Modern documentation platform with extended markdown support

Downloads

31

Readme

Runir

Runir Banner

Runir is a modern, CLI-first documentation engine built with Next.js 14 and Tailwind CSS. Transform markdown files into beautiful, interactive documentation sites with zero configuration overhead.

Features

  • Extended Markdown — Custom components like <Tip>, <Note>, <Steps>, <Tabs>, and <CardGroup> work directly in .md files
  • Instant Search — Automatic full-text search indexing with Ctrl+K / Cmd+K shortcut
  • Modern UI — Clean, responsive dark theme optimized for technical documentation
  • CLI Workflow — Initialize, develop, and build with simple commands
  • Static Export — Generates a fully static out/ directory for any hosting platform
  • Configurable — Navigation, branding, theme, and paths via a single runir.config.js

Quick Start

1. Install

npm install -g @fezcode/runir

2. Initialize

mkdir my-docs && cd my-docs
runir init

This creates:

  • runir.config.js — your site configuration
  • docs/ — starter markdown files

3. Develop

runir dev

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

4. Build

runir build

Static site is exported to ./out/.

Configuration

Customize your site in runir.config.js:

module.exports = {
  name: "My Project Docs",
  description: "Documentation for my project",
  docsDir: "docs",

  // Controls the URL prefix for your docs site
  // ""           → mysite.com/
  // "/docs"      → mysite.com/docs/
  // "/my-repo"   → username.github.io/my-repo/
  basePath: "",

  navigation: [
    {
      title: "Getting Started",
      links: [
        { title: "Introduction", href: "/" },
        { title: "Quick Start", href: "/quick-start" },
      ],
    },
  ],

  navbar: {
    title: "My Docs",
    links: [
      { title: "GitHub", href: "https://github.com/you/repo", external: true },
    ],
  },

  theme: {
    accentColor: "#d97757",
    accentColorLight: "#e0896d",
  },

  search: {
    enabled: true,
    placeholder: "Search docs...",
  },

  footer: {
    text: "Built with Runir",
    links: [],
  },
};

Extended Markdown Components

Write these directly in your .md files:

Callouts

<Tip>Helpful advice or best practice.</Tip>
<Note>Additional context or clarification.</Note>
<Warning>Something that could cause problems.</Warning>
<Info>Background information or reference.</Info>

Steps

<Steps>
<Step title="First">Do this first.</Step>
<Step title="Second">Then this.</Step>
</Steps>

Tabs

<Tabs>
<Tab title="npm">npm install foo</Tab>
<Tab title="yarn">yarn add foo</Tab>
</Tabs>

Cards

<CardGroup cols={2}>
<Card title="Guide" href="/guide">Description here.</Card>
<Card title="API" href="/api">API reference.</Card>
</CardGroup>

Deployment

GitHub Pages

  1. Set basePath to your repo name in runir.config.js:

    basePath: "/my-repo"
  2. The runir init command creates a .github/workflows/deploy-docs.yml workflow. Push to main and enable GitHub Pages (source: GitHub Actions) in your repo settings.

Vercel / Netlify / Cloudflare Pages

Set build command to runir build and publish directory to out. Leave basePath as "".

Any Static Host

Run runir build and upload the out/ directory.

CLI Reference

| Command | Description | |---|---| | runir init | Create runir.config.js and docs/ with starter templates | | runir dev | Start dev server with hot reload | | runir build | Build static site to ./out/ | | runir help | Show help |

License

MIT