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

dsh-outline-lint

v0.1.6

Published

Shape check for delivered documents: no title, more than one level-1 heading, a lost heading level, no conclusion up front, and nothing a reader can run to reproduce the result.

Readme

dsh-outline-lint

Length is not the failure mode; shape is. This reports the five defects that make a document unreviewable regardless of how good the reasoning is.

真实输入输出

输入:

# 数据管线报告

#### 处理流程

原始数据经清洗后入库。

真实运行(逐字输出,由测试与工具保持同步):

$ outline-lint report-outline.md
warn heading-jump line 3: "处理流程" is h4 directly under h1, which reads as a lost level
error no-conclusion no conclusion before the body: add a heading matching 结论/摘要 or open the first paragraph with 结论:
error no-reproduction nothing a reader can run: add a 复现 section or a fenced command
fail: 2 errors, 1 warnings

出口码:1。

npx outline-lint report.md            # human output, exit 1 on findings
npx outline-lint report.md --json     # machine output for a pipeline
npx outline-lint report.md --warnings-fail

交付文档结构检查:缺标题、多个一级标题、标题跳级、开头没有结论、没有任何可复现命令。

范围:结论规则(no-conclusion)针对报告类交付物——研究报告、评审报告这类有「交代结论」义务的文档。参考文档(README、手册、 CHANGELOG)没有结论义务,对这些文件出现的 no-conclusion 是域外提示,不是缺陷。

Exit codes: 0 clean, 1 findings, 2 usage or read error. In DSH the same function is behind POST /outline-lint/api with {"text":"…"} or {"path":"…"}, so the panel and CI agree by construction.

Part of dsh-verify-kit: five small deterministic checks, each one verb, each runnable without DSH.

What it decides

交付文档的结构是否可审:标题在场、结论在前、有可运行的东西、标题层级不跳级。结论规则针对报告类交付物;参考手册类文档不在域内(0.1.3 起按领域判定)。

A heading with its text deleted

## alone on a line is not a heading as far as a Markdown parser is concerned, and this check used to agree — so empty-heading, the rule that exists for exactly that case, could never fire. The heading regex now accepts an empty title and reports it.

Found by scripts/audit-rules.mjs, which requires every rule to be observed in both directions. It reported empty-heading as silent-only, and the test written to prove it fires proved the opposite.

Honest scope

这是结构检查,不是结论核实:它说文档结构上可审,从不说结论是对的。结论在前是对报告类的结构约定,不是对散文的审美。

Part of dsh-verify-kit: generic deliverable defects, each one verb, each runnable without DSH.

MIT.