AvisoNovate / pretty

Library for helping print things prettily, in Clojure - ANSI fonts, formatted exceptions

Home Page:http://ioavisopretty.readthedocs.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clojars CI

Full Documentation

API

Sometimes, neatness counts.

If you are trying to puzzle out a stack trace, pick a critical line of text out of a long stream of console output, or compare two streams of binary data, a little bit of formatting can go a long way.

That's what io.aviso/pretty is for. It adds support for pretty output where it counts:

  • Readable output for exceptions
  • ANSI font and background color support
  • Hex dump of binary data
  • Hex dump of binary deltas
  • Formatting data into columns

Example

Full Documentation

Pretty is also incorporated into the ultra plugin, and is packaged as part of Boot.

Parts of Pretty can be used with Babashka, such as the io.aviso.ansi namespace; however, Babashka runs in an interpreter and its approach to exceptions is incompatible with JVM exceptions.


io.aviso/pretty is released under the terms of the Apache Software License 2.0.

About

Library for helping print things prettily, in Clojure - ANSI fonts, formatted exceptions

http://ioavisopretty.readthedocs.org/

License:Apache License 2.0


Languages

Language:Clojure 100.0%