Reputation: 7098
For this new nodejs debugger I am working on I would like to colorize the source-code lines that are displayed. Any recommendations on a npm to use?
There are a lot of syntax highlighters out there, but what makes this situations a little different is
I see node-syntaxhighlighter but the lack of links to a github page or documentation kind of troubles me.
Upvotes: 2
Views: 2915
Reputation: 4058
I had the same need to colorize some programs in the terminal, and I fell upon the following package cli-highlight
.
Here is the github link: https://github.com/felixfbecker/cli-highlight
Upvotes: 1