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

@buckeyestudio/toh-typert-loader

v0.1.1-rc.2

Published

Loader integration for generated Typert package contributions

Readme

@buckeyestudio/toh-typert-loader

English | 中文

生成的 Typert 产物所用的 Loader 集成,仅支持 Node。该插件需要 ctx.loaderctx.typert;它本身不提供注册表。

激活时,该插件会扫描现有的 Loader 配置项。随后它会监听 Cordis internal/plugin 生命周期通知,解析每个配置项所属包的 package.json,在其导出 ./typert 时导入该子路径,校验其 TYPERT manifest(元数据清单),并注册该贡献项,直到配置项或本插件卸载。如果导入操作在配置项或本插件卸载后才结束,系统会丢弃其结果。

packages 用于列出需要为嵌套在另一 Loader 配置项下的插件额外注册的包产物。Cordis fiber 不会保留这些嵌套插件的 npm 包说明符,因此这里通过显式配置划定边界;配置中列出的每个包都必须能从配置树解析,并导出 ./typert

未导出该子路径的包会被跳过。包解析结果和已导入的 manifest 会在整个进程生命周期内缓存,因此新增该导出后必须重启进程。插件激活时,如果已挂载 Loader 配置项对应的产物格式错误,激活会失败;之后才发生的失败只会记录到日志,不会阻止无关包完成注册。

模型体验

无。loader 只向 ctx.typert 提供注册项;任何模型可见投影均由消费方负责。

KV Cache 影响

无直接影响。

已知限制与暂缓事项

  • 发现机制只会导入宿主侧产物;若要为客户端运行时添加等价的发现机制,需要先有独立的组合所有者。
  • Loader 配置项会自动发现。嵌套插件或非 Loader 插件需要显式加入 packages,或由其所有者直接负责调用 ctx.typert.register()