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

void-blog

v0.0.1

Published

A Void-native blogging framework.

Readme

void-blog

A Void-native blogging framework for MDX blogs.

void-blog provides:

  • a Vite plugin that scans posts/*.mdx and generates Void dynamic post routes
  • a configurable MDX dialect with syntax highlighting, frontmatter, inline notes, table of contents export, and smart typography
  • Void server helpers for home/post loaders and post <head> metadata
  • a small default React theme that can be styled or replaced
  • RSS, sitemap, Markdown mirrors, and Open Graph image generation

Install

Install void-blog from npmjs and continue installing the Void peers through the private aliases:

# .npmrc
@void-sdk:registry=https://npm.pkg.github.com
pnpm add void-blog @void/react@npm:@void-sdk/[email protected] void@npm:@void-sdk/[email protected]

Configure

// blog.config.ts
import { defineBlog } from 'void-blog';

export default defineBlog({
  site: {
    description: 'Concise docs for building MDX blogs on Void.',
    name: 'Void Blog Docs',
    url: 'http://localhost:4010',
  },
});
// vite.config.ts
import mdx from '@mdx-js/rollup';
import tailwindcss from '@tailwindcss/vite';
import { voidReact } from '@void/react/plugin';
import { defineConfig } from 'vite-plus';
import { voidPlugin } from 'void';
import blogConfig from './blog.config.ts';
import mdxOptions from 'void-blog/mdx';
import { voidBlog } from 'void-blog/vite';

export default defineConfig({
  plugins: [
    voidBlog(blogConfig),
    ...voidPlugin(),
    mdx(mdxOptions),
    ...tailwindcss(),
    ...voidReact({ viewTransitions: true }),
  ],
});

To replace the default post design, point the plugin at your own route component:

voidBlog(blogConfig, {
  routes: {
    post: 'src/blog/PostRoute.tsx',
  },
});
// src/blog/PostRoute.tsx
import {
  BlogConfigProvider,
  BlogPostBody,
  type BlogPostRouteProps,
} from 'void-blog/react';

export default function PostRoute({
  config,
  content,
  post,
  tableOfContents,
}: BlogPostRouteProps) {
  if (!post) {
    return null;
  }

  return (
    <BlogConfigProvider config={config}>
      <main>
        <h1>{post.title}</h1>
        <BlogPostBody
          {...post}
          content={content}
          tableOfContents={tableOfContents}
        />
      </main>
    </BlogConfigProvider>
  );
}
// pages/layout.tsx
import 'void-blog/styles.css';
import type { ReactNode } from 'react';

export default function Layout({ children }: { children: ReactNode }) {
  return children;
}

Scripts

The voidBlog() Vite plugin generates blog routes and metadata during vp dev and vp build. A Vite+ app only needs these scripts:

{
  "scripts": {
    "build": "vp build",
    "dev": "vp dev"
  }
}

If your blog config includes local MDX components, keep it in the conventional blog.config.ts file. The generated post pages will import that app config automatically.

Example

Run the example app from this repository:

vp run void-blog-example#dev

The example uses the local workspace copy of void-blog and doubles as concise product documentation for setup, configuration, MDX authoring, generated outputs, and design customization.

Frontmatter

Required:

---
title: Hello World
date: 2026-01-01T00:00:00Z
description: A post about the topic in one sentence.
published: true
---

Supported optional fields include category, type, pinned, image, tags, and youtube.