tiny-ansi 0.1.0

TinyAnsi is a dead simple library that allows basic coloring of terminal characters.
Documentation
  • Coverage
  • 2.38%
    1 out of 42 items documented1 out of 42 items with examples
  • Size
  • Source code size: 10.96 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1.62 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • NaokiM03/tiny-ansi-rs
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • NaokiM03

TinyAnsi

About

TinyAnsi is a dead simple library that allows basic coloring of terminal characters.

There are many crates for the ansi terminal that have been created and abandoned, but none of them solve the following problem. If that is the case, I do not need complex functionality, so I built the library on a scale such that the code can be read at a glance. https://github.com/jam1garner/owo-colors/issues/45

How to use

# Cargo.toml



[dependencies]

tiny-ansi = "0.1.0"

use tiny_ansi::TinyAnsi;
println!("{}", "red".red());
println!(
    "{}",
    "bold italic red on green".bold().italic().red().on_green()
);

License

tiny-ansi is released under the MIT License