termcol

Crates.iotermcol
lib.rstermcol
version0.1.1
sourcesrc
created_at2022-05-20 17:54:44.430361
updated_at2022-05-20 20:30:08.444819
descriptionDependency-less library for simple terminal text coloring and formating
homepagehttps://github.com/Ernest1338/termcol
repositoryhttps://github.com/Ernest1338/termcol
max_upload_size
id590401
size16,926
(Ernest1338)

documentation

https://docs.rs/termcol

README

termcol

Dependency-less library for simple terminal text coloring and formating

Usage

Basic usage (checkout the examples/usage.rs file for more information)

use termcol::*;

fn main() {
    println!("{}red{}", color("red"), color("reset"));
    println!("{}bold{}", format("bold"), format("reset"));
    println!("{}", color_string("im blue", "blue"));
}

LICENSE

This project is distributed under MIT license.

Commit count: 7

cargo fmt