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

@natsuneko-laboratory/makit

v0.7.0

Published

Generate static documentation sites from Markdown, powered by Next.js.

Readme

@natsuneko-laboratory/makit

A Node.js CLI for building searchable, multilingual static documentation sites from Markdown and TypeScript. It scales from a small project README to a portal for multiple products.

Features

  • Generate static HTML documentation sites from Markdown
  • Keep stable URLs while ordering pages with filename prefixes
  • Define site and page metadata with type-safe TypeScript
  • Organize large sites with collections, sections, and groups
  • Support localized content and fallbacks for missing translations
  • Add full-text search with Pagefind
  • Build changelog pages from a GitHub repository's releases at build time
  • Optionally generate llms.txt, llms-full.txt, and Markdown endpoints for every page
  • Use official adapters for GitHub Pages, Cloudflare Pages, Netlify, and Vercel

Requirements

  • Node.js 20 or later
  • pnpm, npm, or Yarn

Quick start

pnpm add -D @natsuneko-laboratory/makit
pnpm exec makit init
pnpm exec makit dev

Edit docs/index.md and preview the changes in the development server. To validate, build, and preview the production site:

pnpm exec makit check
pnpm exec makit build
pnpm exec makit preview

The generated site is written to dist/ by default.

Minimal project

my-docs/
├── docs/
│   └── index.md
├── public/
├── makit.config.ts
└── package.json

Configure the site in makit.config.ts.

import { defineConfig } from "@natsuneko-laboratory/makit";

export default defineConfig({
  title: "My Documentation",
  description: "Documentation for my project.",
  lang: "en-US",
  siteUrl: "https://docs.example.com",
});

Write page content in Markdown. To provide an explicit title or stable page ID, add a matching .meta.ts file alongside the page.

import { definePageMetadata } from "@natsuneko-laboratory/makit/metadata";

export default definePageMetadata({
  id: "configuration",
  title: "Configuration",
});

Numeric filename prefixes control display order only; they are not included in URLs. For example, docs/02-guides/01-installation.md becomes /guides/installation/.

CLI

| Command | Description | | --- | --- | | makit init [dir] | Scaffold a new Makit project | | makit dev | Start the development server | | makit check | Validate configuration and documentation without building | | makit build | Build the static site for production | | makit preview | Serve the built static site locally | | makit clean | Remove generated output (.makit/ and outDir) | | makit adapter generate | Generate deployment adapter files |

Run makit <command> --help for the full list of flags.

Deployment

Without an adapter, deploy the contents of dist/ to any static hosting provider. To generate provider-specific configuration or CI workflows, install the relevant adapter.

pnpm add -D @natsuneko-laboratory/makit-adapter-github-pages
import { defineConfig } from "@natsuneko-laboratory/makit";
import githubPages from "@natsuneko-laboratory/makit-adapter-github-pages";

export default defineConfig({
  title: "My Documentation",
  deployment: {
    adapter: githubPages({
      repository: "owner/docs",
      siteType: "project",
      basePath: "auto",
      generateWorkflow: true,
    }),
  },
});

Official adapters:

  • @natsuneko-laboratory/makit-adapter-cloudflare-pages
  • @natsuneko-laboratory/makit-adapter-github-pages
  • @natsuneko-laboratory/makit-adapter-netlify
  • @natsuneko-laboratory/makit-adapter-vercel

Themes

The built-in theme needs no configuration. To replace the whole page shell, install a theme package and point theme.extends at it:

pnpm add @natsuneko-laboratory/makit-theme-terminal
export default defineConfig({
  theme: {
    extends: "@natsuneko-laboratory/makit-theme-terminal",
    // Individual components can still be replaced on top of the theme.
    components: {
      Footer: "./theme/footer.tsx",
    },
  },
});

Official themes:

  • @natsuneko-laboratory/makit-theme-terminal — monospace and square-cornered, for CLI and infrastructure documentation
  • @natsuneko-laboratory/makit-theme-product — soft cards and pill navigation, for product documentation
  • @natsuneko-laboratory/makit-theme-editorial — serif typography and warm paper tones, for handbooks and long-form guides
  • @natsuneko-laboratory/makit-theme-brutalist — heavy rules and high-contrast signal color, for bold OSS and creative-tool documentation

Documentation

See the Makit repository for the full specification, theme authoring guide, and example projects.

License

MIT