colored 0.0.31

A minimalistic console coloring library.


To use this package, run the following command in your project's root directory:

Manual usage
Put the following dependency into your project's dependences section:

#+OPTIONS: ^:nil

  • Colored [[https://github.com/gizmomogwai/colored][https://img.shields.io/github/tag/gizmomogwai/colored.svg?style=flat-square]] [[https://travis-ci.org/gizmomogwai/colored][https://img.shields.io/travis/gizmomogwai/colored/master.svg?style=flat-square]] [[https://codecov.io/gh/gizmomogwai/colored][https://img.shields.io/codecov/c/github/gizmomogwai/colored/master.svg?style=flat-square]] [[https://gizmomogwai.github.io/colored][https://img.shields.io/readthedocs/pip.svg?style=flat-square]] [[http://code.dlang.org/packages/colored][https://img.shields.io/dub/l/colored.svg?style=flat-square]] [[http://code.dlang.org/packages/colored][https://img.shields.io/dub/v/colored.svg?style=flat-square]] [[http://code.dlang.org/packages/colored][https://img.shields.io/dub/dw/colored.svg?style=flat-square]]

** Intro colored is yet another terminal coloring lib for dlang. compared to others the source is really minimalistic, dependencies include only unit_threaded for testing.

** Usage #+NAME: example #+BEGINSRC D unittest { import colored; import std.stdio; "test".green.onRed.writeln; } #+ENDSRC

** [[https://gizmomogwai.github.io/colored/][Api]] The api allows only setting a foreground and backgroundcolor once. This is done by returning dedicated types after each operation.

Authors:
  • Christian Koestlin
Dependencies:
none
Versions:
0.0.31 2023-Apr-04
0.0.30 2023-Apr-04
0.0.29 2022-Sep-21
0.0.28 2022-Aug-23
0.0.27 2022-Jun-24
Show all 21 versions
Download Stats:
  • 6 downloads today

  • 26 downloads this week

  • 104 downloads this month

  • 14314 downloads total

Score:
4.0
Short URL:
colored.dub.pm