Registry / utility / strings-ansi

strings-ansi

JSON →
library0.2.0rbrubygemsunverified

Methods for processing ANSI escape codes in strings.

gem install strings-ansi
INSTALL
IMPORT
SIG · STRINGS-ANSI
S
strings-ansi
utilityrubyv0.2.0
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.

Strings::ANSI
require 'strings-ansi'

Strip ANSI escape codes from a string

require 'strings-ansi' Strings::ANSI.sanitize("\e[31mred\e[0m") # => "red"
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
strings-ansi — gem install strings-ansi · libregistry