cli-highlight is a NodeJS library that provides syntax highlighting for code snippets directly in your terminal. It takes code as input and outputs beautifully formatted text with colors corresponding to different language constructs, making code more readable and understandable within a command-line interface. Supporting a wide range of languages, cli-highlight enhances terminal-based workflows by delivering visually appealing and informative code representations. Use in scripts, CLIs, or any application that benefits from code presentation in the terminal.
The cli-highlight npm package experienced frequent releases in August 2016, then sporadic releases between November 2017 and January 2021. After January 2021, the package hasn't been updated. No releases have occurred in 2022, 2023, 2024, or through August 2025.
The npm package cli-highlight experienced substantial growth in downloads throughout 2024, peaking in October. Download numbers remained high into 2025, with a notable surge in June. August 2025 downloads are lower, likely due to incomplete monthly data.