{ "source": "doc/api/pretty-print.markdown", "modules": [ { "textRaw": "Pretty print", "name": "pretty_print", "desc": "
A lua value pretty printer and colorizer for terminals. \n\n
\nlocal prettyPrint = require('pretty-print')
\n\n
Index lets you optionally pick a theme, 16 or 256. \n\n
\n", "signatures": [ { "params": [ { "name": "index", "optional": true } ] } ] }, { "textRaw": "prettyPrint.print(...)", "type": "method", "name": "print", "desc": "Works like the default lua print function. We also override the default lua print function\n\n
\n", "signatures": [ { "params": [ { "name": "..." } ] } ] } ], "properties": [ { "textRaw": "Value: prettyPrint.theme", "name": "theme", "desc": "Table of keys and values of the available themes\n\n
\n" }, { "textRaw": "Userdata Value: prettyPrint.stdout", "name": "stdout" }, { "textRaw": "Userdata Value: prettyPrint.stderr", "name": "stderr" } ], "type": "module", "displayName": "Pretty print" } ] }