Группа :: Разработка/Ruby
Пакет: gem-hansi
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Текущая версия: 0.2.0-alt1
Время сборки: 15 июня 2020, 10:21 ( 201.2 недели назад )
Размер архива: 73.23 Kb
Домашняя страница: https://github.com/rkh/hansi
Лицензия: MIT
О пакете: Der ANSI Hansi - create colorized console output
Описание:
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
ACL:
Время сборки: 15 июня 2020, 10:21 ( 201.2 недели назад )
Размер архива: 73.23 Kb
Домашняя страница: https://github.com/rkh/hansi
Лицензия: MIT
О пакете: Der ANSI Hansi - create colorized console output
Описание:
Der ANSI Hansi - create colorized console output.
Welcome to The ANSI Hansi. This is your Hipster ANSI color library.
It allows you to produce colorized console output. Many ANSI color libraries
are already out there. However, this library tackles a few issues most of them
have:
* It supports 8 color, 16 color, 88 color, 256 color and 24 bit (True Color)
mode.
* It transparently converts colors between modes without you having to worry
about this. It uses the YUV distance (rather than the RGB distance) to closer
match how our brain perceives color similarity.
* It supports proper color nesting.
* It can automatically detect how many colors the current terminal supports.
* It does not enforce a DSL to be used (in fact, it does not include a DSL, but
it makes it really easy to build your own DSL).
* Makes it easy to define string templates for highlighting, but doesn't force
you to use them.
* It supports themes, but doesn't force you to use them. Themes make semantic
coloring easier.
* It supports converting ANSI colors to CSS rules. It does not support parsing
an ANSI colored string into HTML, this would be outside the scope of this
library.
* It has zero dependencies and does not include a native extension.
* It does not monkey patch anything.
Текущий майнтейнер: Ruby Maintainers Team Welcome to The ANSI Hansi. This is your Hipster ANSI color library.
It allows you to produce colorized console output. Many ANSI color libraries
are already out there. However, this library tackles a few issues most of them
have:
* It supports 8 color, 16 color, 88 color, 256 color and 24 bit (True Color)
mode.
* It transparently converts colors between modes without you having to worry
about this. It uses the YUV distance (rather than the RGB distance) to closer
match how our brain perceives color similarity.
* It supports proper color nesting.
* It can automatically detect how many colors the current terminal supports.
* It does not enforce a DSL to be used (in fact, it does not include a DSL, but
it makes it really easy to build your own DSL).
* Makes it easy to define string templates for highlighting, but doesn't force
you to use them.
* It supports themes, but doesn't force you to use them. Themes make semantic
coloring easier.
* It supports converting ANSI colors to CSS rules. It does not support parsing
an ANSI colored string into HTML, this would be outside the scope of this
library.
* It has zero dependencies and does not include a native extension.
* It does not monkey patch anything.
Список всех майнтейнеров, принимавших участие
в данной и/или предыдущих сборках пакета: Список rpm-пакетов, предоставляемый данным srpm-пакетом:
- gem-hansi
- gem-hansi-doc