rcolors 0.1.1

A simple terminal colorization/style tool written in Rust.
Documentation
1
2
3
pub fn no_color() -> bool {
    std::env::var("NO_COLOR").is_ok() || !atty::is(atty::Stream::Stdout)
}