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-advanced-highlight

v1.0.1

Published

Tabby plugin for advanced terminal text and regex highlighting with custom colors and real-time settings

Readme

tabby-advanced-highlight

npm version License: MIT

Advanced real-time text and regex highlighting plugin for Tabby terminal.

Customizable live pattern highlighter designed for network engineers, sysadmins, and developers. Highlight IP addresses, router interface states (UP/DOWN), error logs, and arbitrary patterns in Truecolor (24-bit ANSI) with an integrated settings panel.


✨ Features

  • ⚡ PCRE / Perl 5 Regular Expression Engine: Full support for regex patterns including smart word boundaries (\b), lookaheads/lookbehinds ((?<!...)), non-capturing groups (?:...), character classes, and inline flags (?i).
  • 🎨 Visual Color Picker & Quick Swatches: Visual HTML5 color swatch picker with Hex input, one-click copy, and quick preset color pills.
  • 🛠️ Interactive Live Settings Panel: Edit all highlight rules directly in Tabby's Settings under Highlight (⚡️ Advanced Highlight), with instant live reload across active terminal tabs.
  • 🛡️ Non-Destructive ANSI Injection: Injects 24-bit Truecolor foreground and background ANSI sequences without breaking existing terminal colors or prompt styling.
  • ⏱️ Serial Stream Accumulator (25ms): Solves micro-chunk fragmentation on slow serial lines (e.g., Cisco/Huawei UART at 9600 baud) so split words across packets are reconstructed and highlighted accurately.
  • 📦 18 Out-of-the-Box Defaults: Pre-configured with battle-tested rules for network equipment (Cisco, Huawei, Juniper), IPv4 addresses, interfaces (GigabitEthernet, gi, vlanif, loopback), log levels (error, warning, info), and interface statuses.

📋 Rule Syntax

Each rule is written as a comma-separated line in the settings editor:

"pattern", isRegex, caseSensitive, fgColor, [bgColor], enabled

| Field | Type | Description | |---|---|---| | "pattern" | String | Pattern enclosed in double quotes. Can be plain text or a regex pattern. | | isRegex | 0 or 1 | 1 = Evaluate as regular expression, 0 = Literal text match. | | caseSensitive | 0 or 1 | 1 = Case sensitive match, 0 = Case insensitive ((?i)). | | fgColor | Hex | Foreground text color in 6-digit hex (e.g. FFFFFF, DC0000). | | bgColor | Hex | (Optional) Background color in 6-digit hex. Leave empty for transparent background. | | enabled | 0 or 1 | 1 = Rule active (default), 0 = Temporarily disabled. |

Syntax Examples

"error:.*", 1, 0, FFFFFF, DC0000, 1
"\bup(?:\(s\))?", 1, 0, 3C9F50, , 1
"\bdown\b", 1, 0, DC0000, , 1
"GigabitEthernet\d/\d/\d{1,2}(\.\d{1,10})?", 1, 0, 5CC7C7, , 1
"(?<![\d.])(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9]?[0-9])(?:\/\d{1,2})?(?!\.?\d)", 1, 0, ECEC74, , 1

⚡ Performance Considerations

tabby-advanced-highlight evaluates rules in real time across the incoming terminal stream in user space:

  • Daily Interactive Use: Extremely responsive and negligible CPU overhead during standard shell sessions, SSH connections, serial consoles, and router configuration.
  • High-throughput Bulk Streams: If you continuously dump millions of lines (e.g. continuous kernel debugs or cat on multi-gigabyte log files), having dozens of complex regex rules with negative lookbehinds will introduce CPU load in JavaScript. Keep regex patterns concise and disable unused rules when streaming massive datasets.

🚀 Installation

From Tabby Settings (Recommended)

  1. Open Tabby Settings (Ctrl+, or Cmd+,).
  2. Go to Plugins.
  3. Search for tabby-advanced-highlight.
  4. Click Install and restart Tabby.

Manual Installation

Download the release tarball and extract it into your Tabby plugins directory:

  • macOS: ~/Library/Application Support/tabby/plugins/node_modules/tabby-advanced-highlight
  • Linux: ~/.config/tabby/plugins/node_modules/tabby-advanced-highlight
  • Windows: %APPDATA%\tabby\plugins\node_modules\tabby-advanced-highlight

👤 Author

📄 License

MIT © Rubén León