Registry / utility / text-highlight

text-highlight

JSON →
library1.0.2rbrubygemsunverified

A Ruby module for highlighting text using ANSI escape sequences or HTML output.

gem install text-highlight
INSTALL
IMPORT
SIG · TEXT-HIGHLIGHT
T
text-highlight
utilityrubyv1.0.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Text::Highlight
require 'text/highlight'

Highlight a word in a string using ANSI colors.

require 'text/highlight' puts Text::Highlight.highlight('hello world', 'world', :ansi)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.2latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
text-highlight — gem install text-highlight · libregistry