Repository

vcolor - A Color Printing Library for V Language

vcolor is a color printing library for the V programming language, which can make your console output more colorful.

Installation

Install via V language package manager:

v install xiusin.vcolor

Usage Example

import xiusin.vcolor

fn main() {
    println(vcolor.red('This is red text'))
    println(vcolor.green('This is green text'))
    println(vcolor.blue('This is blue text'))
}

Available Colors

  • red
  • green
  • blue
  • yellow
  • magenta
  • cyan
  • white
  • black

For more information, please refer to the project documentation.

About

0
37
last May 7

Author

xiusin