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

@blaaiz/docs-core

v0.9.3

Published

Neutral, self-hostable documentation framework core — navigation parsing, OpenAPI merging, MDX doc components, and a hardened try-it proxy. Config and content live in each consuming site.

Readme


What this is

@blaaiz/docs-core is the shared engine for Blaaiz-family documentation sites. It wraps Fumadocs and adds the pieces every docs site needs. The core owns the logic. Each docs site installs this package and supplies only its own config and content.

  • Mintlify-compatible — reads a docs.json navigation file and Mintlify-style MDX components.
  • OpenAPI-native — renders an API reference and an interactive try-it playground from your OpenAPI files.
  • Secure by default — the try-it proxy forwards the caller's own token, injects no secrets, and only reaches the API origins a site allow-lists. Every forward is rate-limited per client IP.
  • Ask AI built in — ai: { provider: 'anthropic' } in config is a complete setup: a streaming answer panel grounded in the site's own pages, with Anthropic and OpenAI as equals. The API key stays on the server.
  • A CLI and agent skills — npx docs-core init scaffolds a working site; npx docs-core agents installs the docs-core skill for Claude Code and Codex, so an assistant edits the site correctly.

Status — This repository currently contains the project foundation: the toolchain, the standards, and the architecture. Feature code lands next. See docs/adr/.

Who uses it

Blaaiz publishes this as a public npm package. Any organization can install it and keep its own config and content private. Each site is config plus content:

your-docs/
  docs.config.ts                  # theme, auth mode, API allow-list
  content/docs.json               # navigation
  content/docs/**/*.mdx           # prose
  content/api-reference/**/*.json # OpenAPI files
  package.json                    # installs @blaaiz/docs-core

Start a site

npx docs-core init      # docs.config.ts, content/docs.json, starter pages, .env example
npx docs-core agents    # the docs-core skill for Claude Code and Codex, plus AGENTS.md

init never overwrites without --force, and both commands print exactly what they wrote.

Wire a site

Three pieces of the API reference live in this package and plug into a site:

/* app/globals.css — after the fumadocs imports */
@import '@blaaiz/docs-core/styles/docs.css';
@import '@blaaiz/docs-core/styles/api-reference.css';
// components/api-page.tsx
'use client';
import { apiOperationLayout } from '@blaaiz/docs-core/ui';
import { createOpenAPIPage } from 'fumadocs-openapi/ui';

export const APIPage = createOpenAPIPage({
  content: { renderOperationLayout: apiOperationLayout },
});

Copy patches/fumadocs-openapi.patch into the site and register it in pnpm-workspace.yaml under patchedDependencies. It turns the code-sample language tabs into a dropdown with the endpoint name as the panel title. Re-check the patch on each fumadocs-openapi upgrade.

Design in one rule

The core owns the logic. Each site owns config and content. If a thing is the same for every organization, it is in this repo. If it changes per organization, it is in the site.

See docs/ARCHITECTURE.md.

Develop

corepack enable
pnpm install
pnpm run verify   # format, lint, types, architecture, tests, build, public API

See CONTRIBUTING.md for the full workflow.

License

MIT © Blaaiz