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

@marlinjai/clearify

v2.1.0

Published

An open-source documentation site generator. Turn markdown into beautiful docs.

Readme

Clearify

An open-source documentation site generator. Turn markdown into beautiful docs. Run one site per project, or aggregate many repos into a single hub.

Quick Start

pnpm add -D @marlinjai/clearify
pnpm exec clearify init
pnpm exec clearify dev

Your docs are live at http://localhost:4747.

Hub mode

Hub mode aggregates docs from many repos into one site. Each sub-repo owns its docs/public/ folder. The hub clones only the docs from each registered repo, assembles them, and deploys once. To add a project to an existing hub, run clearify init --hub. See Hub Model for the full onboarding walkthrough and provisioning paths.

Features

  • Zero config: drop markdown in docs/public/ and go
  • MDX support (Callout, Tabs, Steps, Cards, CodeGroup, Accordion, Badge, Tooltip, Columns, Frame)
  • Mermaid diagrams (client or build-time via Puppeteer)
  • Built-in full-text search
  • Dark mode, syntax highlighting (Shiki, dual themes)
  • SSG and SEO: pre-rendered HTML, Open Graph, Twitter Cards, JSON-LD, sitemap, robots.txt
  • OpenAPI API Reference: custom renderer with code examples and schema viewer
  • Multi-section support (pill-based section switcher)
  • Hub mode: aggregate many repos into one site with sparse checkout and dispatch-triggered rebuilds
  • Auto changelog, README as landing page

Configuration

Customize with clearify.config.ts:

import { defineConfig } from '@marlinjai/clearify';

export default defineConfig({
  name: 'My Project',
  sections: [
    { label: 'Docs', docsDir: './docs/public' },
    { label: 'Internal', docsDir: './docs/internal', basePath: '/internal', draft: true },
  ],
  theme: { primaryColor: '#3B82F6', mode: 'auto' },
  openapi: { spec: './docs/openapi.json' },
});

CLI Commands

| Command | Description | |---------|-------------| | clearify dev | Start Vite-powered dev server with HMR | | clearify build | Build static documentation site | | clearify init | Scaffold a docs folder (use --no-internal to skip internal section) | | clearify init --hub | Scaffold and register the project with an existing hub (prompts for hub owner/repo) | | clearify check | Check for broken internal links | | clearify openapi:generate | Generate OpenAPI spec from a NestJS app |

Requirements

  • Node.js 22 or later
  • npm, pnpm, or yarn
  • For hub onboarding: a GitHub account and (for CLI-assisted secret provisioning) a GitHub OAuth App. See Installation for prerequisites per path.

Links

License

MIT