fab

Print fabulously in your terminal


Keywords
colors, terminal, formatting, text, fun, nim, style
License
MIT
Install
nimble install fab@#v0.1.0

Documentation

fab

Print fabulously in your terminal (in Nim).

Fab is a really cool text formatting package for Nim. Using Fab is super easy, it's as simple as:

import fab

blue("hey i'm blue!")
bold("this is bold text")
que("what?")

Installation

$ nimble install fab

Screenshot

screenshot

Colors

colors

Styles

styles

Labels

labels

Color procs

blue(), yellow(), red(), green(), white(), purple(), black(), cyan()

Style procs

bold(), italics(), strike(), under()

Label procs

que(), info(), run(), bad(), good()

Inspiration

This project was heavily inspired by @s0md3v's Hue.

Credits

Thanks a bunch to @kaushalmodi for the complete rewrite. It's all pretty much his now.