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 🙏

© 2024 – Pkg Stats / Ryan Hefner

tabby-highlight

v2.4.0

Published

Tabby terminal keyword highlight plugin

Downloads

1,211

Readme

Tabby 高亮插件

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

特性

高亮方式

  • [x] 基于 Xterm 控制序列高亮

高亮参数

  • [x] 支持设置高亮前景色和背景色
  • [x] 支持前景色和背景色分开设置
  • [x] 支持多种样式(加粗、斜体、下划线)

高级特性

  • [x] 支持正则表达式
  • [x] 支持正则表达式验证
  • [x] 支持匹配组(序号和命名)
  • [x] 支持调整关键字优先级
  • [x] 支持单个关键字设置大小写敏感
  • [x] 支持方案管理
  • [x] 支持导入导出方案
  • [x] 兼容白色主题
  • [x] 支持终端标签页右键切换方案
  • [x] 支持关键字替换功能(例如:Error:xxx -> 出错啦:xxx)
  • [x] 支持按单会话/会话分组/会话类型设置高亮方案

其他

  • [x] 设置界面支持中文和英文
  • [x] 在 Windows 下使用 Tabby 1.0.215 测试通过

使用方法

安装

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

排序

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

优先级

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

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

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

替换

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

警告

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

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

从1.0升级到2.0会有一些问题,如果从1.0升级到2.0,需要将插件配置清除,如果是全新安装则不影响

栗子

高亮

参见 演示测试用例.

替换

参见 磁小轨测试用例

截图

关键字设置

Keyword Setting

单* 方案设置

Per Profile Setting

关键字样式设置

Keyword Style Setting

正则验证

Regexp Verify

上下文菜单

Context Menu

高亮效果测试

Highlight Test

替换设置

Replace Setting

替换效果测试

Replace Test Replace Test2