hi @richiardiandrea lambdaisland/ansi only does parsing, not text generation. There are already some good options for that. io.aviso.ansi for instance
lambdaisland/ansi
io.aviso.ansi