Skip to content

mb6ockatf/mfr.lua

Repository files navigation

mfr.lua

output formatter written in lua

download this module via luarocks: luarocks install mfr

import with mfr = require("mfr")

use any functions from docs/index.html:

mfr.describe_fg_colors()

documentation also awailable on github pages

unittests

unittests are written with busted. launch them with ./test.lua. please, note that system-dependent tests are not run (i.e. if your terminal does not support colors, corresponding functionality is not going to be checked). output functions are not tested, too.

contrubution

this repository is open for contribution. you're welcome to submit ideas & bug reports at issues tab, too