Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

term-ansicolor

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

term-ansicolor

  • 1.11.2
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

Term::ANSIColor - ANSI escape sequences in Ruby

Description

This library can be used to color/decolor strings using ANSI escape sequences.

Installation

Use rubygems to install the gem:

# gem install term-ansicolor

Download

The homepage of this library is located at

  • https://github.com/flori/term-ansicolor

Examples

The following executables are provided with Term::ANSIColor:

  • term_cdiff: colors a diff patch
  • term_colortab: Displays a table of the 256 terminal colors with their indices and nearest html equivalents.
  • term_display: displays a ppm3 or ppm6 image file in the terminal. If the netpbm programs are installed it can handle a lot of other image file formats.
  • term_decolor: decolors any text file that was colored with ANSI escape sequences
  • term_mandel: displays the mandelbrot set in the terminal
  • term_plasma: draws a plasma effect on the console, possibly animated and refreshed every -n seconds.
  • term_snow: displays falling snow in the terminal using ANSI movement sequences.

Additionally the file examples/example.rb in the source/gem-distribution shows how this library can be used.

Author

Florian Frank mailto:flori@ping.de

License

Apache License, Version 2.0 – See the COPYING file in the source archive.

FAQs

Package last updated on 04 Aug 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc