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

docfront

v0.2.2

Published

A lightweight documentation system for AI agents and humans.

Readme

Docfront

A lightweight documentation system for AI agents and humans. Keep project docs in a docs/ folder with YAML frontmatter, browse and read them from the terminal.

Docfront is both an npm package (the CLI that lists, reads, and validates docs) and an agent skill (conventions and workflows that teach AI agents how to write, organize, and migrate documentation). You need both: the package provides the tooling, the skill provides the knowledge.

Inspired by the OpenClaw docs system, which uses Mintlify. This project doesn't depend on Mintlify.

Installation

Start by installing the skill:

npx skills add paleo/docfront --skill docfront

Then, ask your agent to do its magic:

Use your docfront skill. Install docfront CLI in this project.

Note: We recommend installing the docfront skill locally in each project. The skill will also install the npm package as a dev dependency for faster execution.

How It Works

  1. Uses a docs/ directory at your project root.
  2. All files and directories are preferably named in kebab-case.
  3. Every .md file starts with YAML frontmatter:
---
title: Your Title Here
summary: A one-sentence description of what this document covers.
read_when:
  - first situation when this document is useful
  - second situation
---

# Your Title Here

...

| Field | Required | Description | | --- | --- | --- | | title | Yes | Display name shown in listings. | | summary | Recommended | One-sentence description. | | read_when | Recommended | When to consult this document. |

CLI

# List root-level documents
npx docfront

# List a subdirectory
npx docfront --dir topic-a

# List multiple subdirectories
npx docfront --dir topic-a --dir topic-b

# List everything recursively
npx docfront --recursive

# Read one or more documents (frontmatter stripped)
npx docfront --read docs/topic-a/doc-1.md
npx docfront --read docs/topic-a/doc-1.md --read docs/topic-b/doc-2.md

# Use a custom docs root instead of docs/
npx docfront --root path/to/docs

# Validate all files (names, frontmatter)
npx docfront --check

Options

| Option | Description | | --- | --- | | --dir <subdir> | List documents in a subdirectory. Repeatable. | | --recursive | Walk the entire tree. Combinable with --dir. | | --read <file> | Print document contents (frontmatter stripped). Repeatable. | | --check | Validate all files and directories. Reports name and frontmatter issues. | | --root <path> | Use a custom directory as the docs root instead of docs/. |

Contribute / Set up a local development environment

cp .vscode/settings.example.json .vscode/settings.json
mkdir .plans

npm i
npm run build
npm test

License

MIT