Namespace for easily setting default viewers for provided values.
Note: Support for input validation may come in the future.
Namespace for easily setting default viewers for provided values. Note: Support for input validation may come in the future.
(bin value)
(bin value opts)
View binary data as a hexdump.
View binary data as a hexdump.
(color value)
(color value opts)
View hex / rgb / rgba colors
View hex / rgb / rgba colors
(csv value)
(csv value opts)
Parse a string as a CSV and use the table viewer by default.
Parse a string as a CSV and use the table viewer by default.
(default value viewer)
(default value viewer opts)
Set the default viewer for a value.
Note: The return for values that don't support metadata may change in the future.
Set the default viewer for a value. Note: The return for values that don't support metadata may change in the future.
(diff value)
(diff value opts)
Diff a collection of values successively starting with the first two.
Diff a collection of values successively starting with the first two.
(duration-ms value)
(duration-ms value opts)
Interpret number as a duration in milliseconds, round up to minutes.
Interpret number as a duration in milliseconds, round up to minutes.
(duration-ns value)
(duration-ns value opts)
Interpret number as a duration in nanoseconds, round up to minutes.
Interpret number as a duration in nanoseconds, round up to minutes.
(edn value)
(edn value opts)
Parse a string as EDN. Will render error if parsing fails.
Parse a string as EDN. Will render error if parsing fails.
(ex value)
(ex value opts)
Viewer for datafied exceptions.
Viewer for datafied exceptions.
(hiccup value)
(hiccup value opts)
Render a hiccup value as html via reagent.
Render a hiccup value as html via reagent.
(http value)
(http value opts)
Highlight HTTP method and status code for http request and response.
Highlight HTTP method and status code for http request and response.
(image value)
(image value opts)
View a binary value as an image.
View a binary value as an image.
(inspector value)
(inspector value opts)
Default data viewer.
Default data viewer.
(json value)
(json value opts)
Parse a string as JSON. Will render error if parsing fails.
Parse a string as JSON. Will render error if parsing fails.
(jwt value)
(jwt value opts)
Parse a string as a JWT. Will render error if parsing fails.
Parse a string as a JWT. Will render error if parsing fails.
(log value)
(log value opts)
Useful for conveying a value in a specific context (what/where/when).
Useful for conveying a value in a specific context (what/where/when).
(markdown value)
(markdown value opts)
Parse string as markdown and view as html.
Parse string as markdown and view as html.
(pprint value)
(pprint value opts)
View value printed via clojure.pprint/pprint.
View value printed via clojure.pprint/pprint.
(prepl value)
(prepl value opts)
View interlacing of stdout, stderr and tap values. Useful for build output.
View interlacing of stdout, stderr and tap values. Useful for build output.
(table value)
(table value opts)
View value as a table. Supports sticky headers and keyboard navigation. opts:
View value as a table. Supports sticky headers and keyboard navigation. opts: - columns: vector of keys to use as columns in table.
(test-report value)
(test-report value opts)
View clojure.test report output.
View clojure.test report output.
(text value)
(text value opts)
View string as a text file.
View string as a text file.
(transit value)
(transit value opts)
Parse a string as transit. Will render error if parsing fails.
Parse a string as transit. Will render error if parsing fails.
(tree value)
(tree value opts)
For viewing highly nested values, such as hiccup.
For viewing highly nested values, such as hiccup.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close