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

base-combos

v0.3.55

Published

语义包:combos.yaml 唯一真相源,36 组语义条目

Readme

base-combos 联动包:组件目录

一句话:本包不画页面,只管“哪条命令走哪条取数通道、长什么样”——combos.yaml 是唯一真相源。

本包不含画图组件;画图去 base-paint(packages/base-render/README.md 的组件目录)。

速查

| 我要 | 调谁/看哪 | |---|---| | 发起一条联动取数 | comboEnvelope(key)(先过注册表校验,对不上即抛错) | | 查有哪些命令可用 | PRESENT_KEYS(生成物,147 条,以 combos.yaml 重核为准) | | 加一条联动 | combos.yaml 加一行+过 tooling/check-combos.mjs,不改代码 | | 看唤醒词与呈现 | HELP.md 互联区(构建期注入的静态投影) | | 看场景语义与降级 | combos.yaml 的 scenarios/fallbacks 段 |

成员

  • comboEnvelope(key):按注册表校验命令后造 list 信封(骨架占位;真实载荷各技能实施)。源:src/index.ts。
  • PRESENT_KEYS:命令表(src/present.ts,由 scripts/gen-present.mjs 从 combos.yaml 生成,手改无效)。
  • 注册表实现来自 base-link-core(createRegistry):命令先过注册表,载荷走信封全字段。

配置即契约(combos.yaml 头注释铁律)

  • 本文件只有声明式联动描述,无库定义语句;以后每加一条只加配置。
  • scenarios 30 条联动场景+l6_slots 6 个空位(一期不实现,内容不记录)。
  • 取数通道 channels 15 对(命令 × 形状 × 背书);降级 fallbacks 6 条(显式标记,不编造)。
  • HELP.md 是真相源的静态投影:构建期注入,运行时不计算。

红线

present 层只许 string 字面量引注册表命令,禁 import 页面交付层(src/present.ts 首行注释)。

测试与校验

  • 单测:node --test ../../test/scaffold.test.mjs(包内无单测目录)。
  • 加命令校验:tooling/check-combos.mjs。