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

tabby-highlight

v3.0.0

Published

Tabby terminal keyword highlight plugin, support text, regexp, javascript

Downloads

1,059

Readme

Tabby 高亮插件

基于 Xterm 控制序列的 Tabby 高亮插件

特性

高亮

  • [x] 支持高亮背景色和前景色
  • [x] 支持额外的样式
  • [x] 支持24位真彩色
  • [x] 支持正则表达式匹配
  • [x] 支持正则表达式匹配组
  • [x] 支持优先级调整
  • [x] 支持方案管理
  • [x] 支持方案导入导出
  • [x] 支持标签页右键菜单切换高亮方案
  • [x] 支持单 会话/组/会话类型 高亮方案

支持的额外样式

  • [x] 加粗
  • [x] 斜体
  • [x] 下划线(单)
  • [x] 下划线(双)
  • [x] 下划线(波浪)
  • [x] 下划线(点阵)
  • [x] 下划线(短划线)
  • [x] 变暗
  • [x] 反色
  • [x] 不可见

替换

  • [x] 支持关键字替换(i.e Error:xxx -> 出错啦:xxx)

使用方法

安装

使用 Tabby 自带的插件管理器安装(【设置】→【插件】→ 搜索 Highlight)

高亮色彩

本插件支持4种色彩模式

  1. 使用0-15表示ANSI标准16色 (由Tabby主题控制)
  2. 使用16-256的数字表示ANSI标准256色(xterm.js内置)
  3. 使用css命名色彩,如red, green, cyan 等等 (参考)
  4. 使用css十六进制色彩#RRGGBB (参考)

排序

拖动关键字的开关可以排序关键字

优先级

最上面的关键字优先级最高

单 会话/会话分组/会话类型 方案

方案的选择顺序是 会话 > 会话分组 > 会话类型 > 全局

替换

这个功能只是为了 好玩,替换只影响显示效果,不影响终端内部实际的内容 终端显示的每一行将按规则从上往下依次替换

警告

请小心使用正则表达式,复杂的正则表达式可能会带来性能问题,或者会让终端输出变得混乱

请小心导入外部配置文件,本插件不做病毒和漏洞扫描

栗子

高亮

参见 演示测试用例.

替换

参见 磁小轨测试用例

截图

关键字设置

Keyword Setting

单* 方案设置

Per Profile Setting

关键字样式设置

Keyword Style Setting

正则验证

Regexp Verify

上下文菜单

Context Menu

高亮效果测试

Highlight Test

替换设置

Replace Setting

替换效果测试

Replace Test Replace Test2

画饼

3.0

  • [ ] 重构设置界面
  • [ ] 增加调色盘界面

4.0

  • [ ] 可编程的关键词匹配(javascript)
  • [ ] 可编程的关键词替换(javascript)

10.0

  • [ ] 支持LSP (做梦)