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

finch-helper

v0.1.1

Published

A Finch assistant that answers questions about Finch usage, features and mini tool development from the official documentation.

Readme

Finch Help

A Finch mini tool that answers questions about Finch usage, features and mini tool development from the official Finch documentation.

Ask "how do I create a scheduled task?", "what is a session container?", or "how do I publish a mini tool?" — the assistant retrieves the relevant excerpts from the official docs knowledge base and answers with sources.

How it works

  • Finch Help assistant (session container) — after enabling the mini tool, open the Finch Help container in Finch and start a chat. The assistant is bound to the finch-expert agent profile: it searches the knowledge base for every question, answers from the retrieved docs, and cites the source pages. The container home offers starter prompt cards (mini tool development, memory, session containers, automation).
  • finch_help_search tool — available in any Finch conversation too. When you ask something about Finch, the assistant can call it to pull relevant documentation excerpts before answering.

Knowledge base

The knowledge base is a snapshot of the official Finch website docs (docs/ and Changelog/ pages, zh + en), chunked at section level and bundled into the package at build time (src/kb.json). Retrieval is a zero-dependency BM25-style keyword search with a CJK-aware tokenizer (Chinese bigrams + English words), so it works fully offline.

Updating the knowledge base

The source lives in the finch-website repository (~/Workspace/aeolus/finch-website/pages). When the docs change:

npm run kb     # regenerates src/kb.json from the website pages
npm run build  # rebuilds the bundle with the new knowledge base

src/kb.json is committed so the package can be built without the website checkout.

Development

npm install
npm run typecheck   # tsc --noEmit
npm run build       # esbuild bundle -> dist/index.js
npx @finchtoys/minitools doctor .   # manifest validation

# local smoke test via tarball (never `minitools add <dir>`)
npm run build
npm pack --pack-destination /tmp
npx @finchtoys/minitools remove finch-helper
npx @finchtoys/minitools add /tmp/finch-helper-<version>.tgz

Finch 助手

一个 Finch 小工具:基于官方 Finch 文档,回答关于 Finch 用法、功能与小工具开发 的问题。

问"怎么创建定时任务?"、"什么是会话容器?"、"怎么发布小工具?"——助手会先从官方文档知识库检索相关内容,再带来源地回答。

工作原理

  • Finch 助手(会话容器)——启用小工具后,在 Finch 里打开 Finch 助手 容器发起对话。该容器绑定了 finch-expert 角色:每个问题都会先检索知识库,再基于检索到的文档回答并注明来源页面。容器首页提供引导卡片(小工具开发、记忆机制、会话容器、定时自动化)。
  • finch_help_search 工具——在任意 Finch 对话中也可用。当你问 Finch 相关问题时,助手会调用它检索相关文档片段再作答。

知识库

知识库是官方 Finch 网站文档(docs/Changelog/ 页面,中英双语)的快照,按章节分块后在构建时打包进发布物(src/kb.json)。检索为零依赖的 BM25 风格关键词检索,带 CJK 感知分词(中文 bigram + 英文单词),完全离线运行。

更新知识库

数据源在 finch-website 仓库(~/Workspace/aeolus/finch-website/pages)。文档更新后:

npm run kb     # 从网站页面重新生成 src/kb.json
npm run build  # 用新知识库重新构建

src/kb.json 已提交进仓库,因此不需要网站检出也能构建发布。

开发

npm install
npm run typecheck   # tsc --noEmit
npm run build       # esbuild bundle -> dist/index.js
npx @finchtoys/minitools doctor .   # manifest 校验

# 本地冒烟测试走 tarball(不要用 `minitools add <目录>`)
npm run build
npm pack --pack-destination /tmp
npx @finchtoys/minitools remove finch-helper
npx @finchtoys/minitools add /tmp/finch-helper-<version>.tgz