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

@khorsheed/dsh-library

v0.1.2

Published

Library and learning engine: project-organized close reading of registered books (no upload) — a per-book roadmap the coach drafts and the learner adopts, photographed pages whose marks become knowledge cards, cards that dedupe and track weakness, two-axi

Readme

@khorsheed/dsh-library

English | 中文

让 agent 当你的读书教练:帮你排进度、记笔记、出题,还盯着你把错题订正对。

自学一本书,最烦的是没人管:进度自己排,笔记自己抄,题自己出,错题下次还没人提醒。装上图书馆,告诉教练你在读哪本书,它会先帮你排一版学习路线;读的时候拍一页书,划线和页边批注会自动整理成卡片;每学完一章做套小测,错题会一直留着,直到你订正对为止。

能做什么

  • 告诉它读什么就能开始:书名和版本说清楚就够,不用上传整本书;只说想学的领域也行(「从零学微积分,教材你帮我挑」),它照你的底子挑知识点和教材。
  • 路线它先排,你点头才算:它会照目录起草一版学习路线,你看着合适点「采用」才生效;之后可以跟着路线一站站过关,也可以挑感兴趣的站先学。
  • 拍一页就能记笔记:读到哪页拍一下,划线和页边批注自动变成卡片,不用手抄。
  • 学完一章就测:题目从你划过的、问过的、做错的内容里出;选择填空当场出分,问答题教练来批。
  • 错题不翻篇:答错的题进「待订正」,订正对了才算掌握这个知识点。
  • 每天照着清单复习:今日页把要订正的题、该复习的卡片列好,打开就知道干什么。

安装

在 DSH 的「插件 → 添加插件」里输入下面的包名,点安装:

@khorsheed/dsh-learning-suite

图书馆会跟着「学习套件」一起装好。装完开一个新会话,选「学习模式」,告诉教练你想读什么书。

图书馆只在学习模式的会话里出现。它的工具只对学习模式有用,所以只交给学习模式的会话,其它模式不会多出用不上的工具和按钮;这也是要连同套件一起装、不要只装本包的原因——单独装时它不会出现。

已知限制

  • 不读取书的电子文件(EPUB、PDF),只登记书名和目录。
  • 拍的照片会作为一条消息发进会话,由教练来识别。

Compatibility

需要 DSH 0.1.7 或更新版本,已在 0.2.1 上验证。

给开发者

  • 入口:src/index.ts(服务与侧栏)、src/tool.ts(教练用的模型工具);工具的用法写在各自的描述里。
  • 也可以单独安装本包(dsh plugin --profile web add @khorsheed/dsh-library),但它的模型工具要由某个模式授予,单装时侧栏不会出现。
  • 隶属 dsh-plugins,问题与贡献请到该仓库;变更见 CHANGELOG.md。