Skip to main content
nulldepdoc
Language: English

nulldepdoc#

0 npm dependencies · Node.js 22+ · Web Standards

Zero-dependency static documentation site generator

Powered solely by Node.js standard APIs and Web Components — no npm install and no constant dependency maintenance required.

Why Zero Dependencies?#

nulldepdoc ships with dependencies: 0 and devDependencies: 0. You can clone the repository and build, preview, and test immediately without running npm install, keeping maintenance overhead and supply-chain exposure to a minimum over the lifetime of your documentation site.

Key Features#

FeatureImplementationExternal npm Deps
Markdown → HTMLBuilt-in CommonMark core + GFM + Admonitions parser0
Component EmbeddingStandard Web Components (<nd-tabs>, <nd-card-grid>, <nd-steps>, <nd-file-tree>, etc.) + custom elements0
Syntax HighlightingBuild-time tokenizer with line highlights, line numbers, and diff rendering (0 client JS)0
Multi-language (i18n)Per-locale builds, language switcher UI, hreflang links, and isolated search indexes0
Local Search & TagsBuild-time JSON index, native <dialog>, CJK 2-gram fallback, tag: search, and static /tags/ pages0
Reading & Ops UXAuto sidebar, breadcrumbs, ToC scroll spy, edit links, last updated dates, and versioning0
SEO & AI OutputsAutomatic sitemap.xml, canonical / OGP meta tags, llms.txt, and llms-full.txt0
Link Check & Dev ServerInternal link/anchor verification plus node:http + fs.watch + SSE live reload0

Documentation Guide#

1. Quick Start

Learn init, serve, build, check, and directory-based routing conventions.

2. Markdown & Web Components

Admonitions, tabs, cards, steps, file trees, and build-time code block decorations.

3. Configuration Reference

Complete guide to nulldepdoc.config.json, i18n, tags, SEO, versioning, and Frontmatter.

4. CLI & API

All CLI commands, version snapshots, and the Node.js ESM programmatic API.

5. Custom Web Components Guide

Add interactive team-specific UI in a single vanilla JS file without React or bundlers.

6. GitHub Pages Deployment

Automated GitHub Actions workflow without npm install and other static hosts.

Edit this pageLast updated:
Built with nulldepdoc itself — 0 npm dependencies.