Swiftpack.co - fogusbogus/ColorConsole as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by fogusbogus.
fogusbogus/ColorConsole 1.0.1
Very simple enumeration-based color manipulator for console output
⭐️ 0
🕓 1 week ago
.package(url: "https://github.com/fogusbogus/ColorConsole.git", from: "1.0.1")


Returns the Unicode coloring convention for console output. Note this will not work in the debug console (March 2023).

How to use example:

` import ColorConsole

print(ColorConsoleCodes.red.foreground(.underline) + "This is underlined an in red text" + ColorConsoleCodes.default.foreground()) `


Stars: 0
Last commit: 1 week ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics