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

@koishi-ce/plugin-inspect

v1.1.0

Published

Inspect on any user, channel or message

Downloads

46

Readme

@koishi-ce/plugin-inspect

简体中文 | English

消息检查插件,移植自上游 koishijs/koishi 的 plugins/common/inspect。查看当前会话或所引用消息的元信息,包括平台名、消息 ID、频道 ID、群组 ID、用户 ID 与自身 ID。

指令

| 指令 | 权限 | 说明 | | --- | --- | --- | | inspect | 1 | 查看用户、频道或消息的详细信息 |

  • inspect @user:输出所 @ 的用户 ID。
  • inspect #channel:输出所 # 的频道 ID。
  • inspect:输出当前会话的元信息;若消息带有引用,则优先展示被引用消息的信息。

配置项

本插件无需配置。

用法

bun add @koishi-ce/plugin-inspect

也可以在控制台的插件市场中直接安装。随后在配置文件中启用:

plugins:
  inspect: {}

备注

  • 指令设置了 captureQuote: false,引用消息不被消费而是保留在会话对象上,因此能检查被引用消息的元信息。
  • 无法解析的元素会提示「参数无法解析。」。

许可证

MIT。本包是上游 koishijs/koishi 的社区再分发,版权归属见 NOTICE。


English

A message inspection plugin, ported from plugins/common/inspect of the upstream koishijs/koishi repository. It shows the metadata of the current session or a quoted message: platform, message ID, channel ID, guild ID, user ID and self ID.

Commands

| Command | Authority | Description | | --- | --- | --- | | inspect | 1 | Inspect detailed information about a user, channel or message |

  • inspect @user: print the ID of the mentioned user.
  • inspect #channel: print the ID of the referenced channel.
  • inspect: print the metadata of the current session; a quoted message takes precedence.

Configuration

None.

Usage

bun add @koishi-ce/plugin-inspect

The plugin can also be installed from the console plugin market, then enabled in the config file:

plugins:
  inspect: {}

Notes

  • The command sets captureQuote: false, so the quote stays on the session object and can be inspected.
  • Unparsable elements report an error.

License

MIT. This package is a community redistribution of upstream koishijs/koishi; see NOTICE for attribution.