chroma-print 1.0.1

A lightweight utility for styled terminal printing using ANSI escape codes.
Documentation
# ChromaPrint

A lightweight utility for styled terminal printing using ANSI escape codes.

[![Crates.io](https://img.shields.io/crates/v/chroma-print?style=flat)](https://crates.io/crates/chroma-print)
[![Crates.io](https://img.shields.io/crates/d/chroma-print?style=flat)](https://crates.io/crates/chroma-print)
![CI](https://img.shields.io/github/actions/workflow/status/brysonbw/chroma-print/ci.yml?branch=main&style=flat&logo=github&label=CI)

## Install globally

```bash
cargo install chroma-print
```

## Install as a library

```bash
cargo add chroma-print
```

## Usage

```rust
use chroma_print::{ChromaPrint, print_error, print_info, print_success, print_warn};

fn main() {
    // Using the provided macros for convenient styled printing:
    print_success!("This is a success message!");
    print_info!("This is an info message!");
    print_warn!("This is a warning message!");
    print_error!("This is an error message!");

    // Alternatively, you can use the ChromaPrint struct directly:
    println!("{}", ChromaPrint::success("Success!"));
    println!("{}", ChromaPrint::info("Info!"));
    println!("{}", ChromaPrint::warn("Warning!"));
    eprintln!("{}", ChromaPrint::error("Error!"));
}
```

## Contributing

If you have suggestions for how this project could be improved, or want to report a bug, feel free to open an issue! We welcome all contributions.

Likewise, before contributing please read and complete the [contribution guide](CONTRIBUTING.md).

## Resources

- [Changelog]CHANGELOG.md
- [Code of Conduct]CODE_OF_CONDUCT.md
- [Contributing]CONTRIBUTING.md
- [Security]SECURITY.md

## License

[MIT](LICENSE)