Preparing for system design interviews?  Try bugzed.com →

Terminal Syntax Highlighter

JSON →
library 2.1.11 ·javascript maintenance
verified Jun 17, 2026

cli-highlight is a utility for applying syntax highlighting to code and text within a terminal environment, leveraging the capabilities of highlight.js for language detection and tokenization. It provides both a command-line interface for piping input or reading files and a programmatic API for integrating highlighting into Node.js applications. The package is currently at version 2.1.11, with its last update in March 2021, suggesting a maintenance rather than active feature development cadence. Key differentiators include its robust language support inherited from highlight.js, the ability to define custom themes using Chalk styles for fine-grained control over terminal colors, and its seamless integration with other CLI tools through standard input/output piping. It is particularly useful for debugging, logging, or displaying code snippets in a more readable format directly in the console.

total hits 13
actors 4 distinct systems
last hit 17d ago ByteDance
ByteDance
5
GPTBot
4
Script
1

top countries 🇸🇬 Singapore · 🇺🇸 United States · 🇨🇦 Canada · 🇩🇪 Germany