colorify is a package that allows you to produce colorful output using ANSI codes. This package is designed to simplify the process of generating colorful outputs using the Jule Programming Language.
- Simple and straightforward package written in Jule.
- Support for text and background coloring, formatting and graphic settings using ANSI codes.
- Runs in any console-based environment that supports ANSI codes.
To use the package, follow these steps:
- Download or clone the package from the GitHub repository.
- Include the package in your project's source files. (don't forget to run
julec mod init
to create a module) - Ta-da! You're ready to use the package in your project.
Below is an example showcasing the basic usage of the package:
// include the package
use "colorify"
fn main() {
// create a variable named "style" using the Style struct
let style = colorify::Style{
Foreground: colorify::Foreground.BrightBlack,
Fonts: [colorify::Font.Bold]
}
// colorify your text with your style and print it
println(colorify::Colorify("Hello, Jule!", style))
}
We welcome contributions to the colorify package! To contribute, simply fork the repository, make your desired changes, and submit a pull request.
This project is licensed under the MIT License. For more information, see the LICENSE file.
If you have any questions or suggestions open an issue on the GitHub Issues page.