Liking cljdoc? Tell your friends :D

portal.viewer

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.
raw docstring

binclj/s

(bin value)
(bin value opts)

View binary data as a hexdump.

View binary data as a hexdump.
sourceraw docstring

codeclj/s

(code value)
(code value opts)
source

colorclj/s

(color value)
(color value opts)

View hex / rgb / rgba colors

View hex / rgb / rgba colors
sourceraw docstring

csvclj/s

(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.
sourceraw docstring

date-timeclj/s

(date-time value)
(date-time value opts)
source

defaultclj/s

(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.
sourceraw docstring

diffclj/s

(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.
sourceraw docstring

duration-msclj/s

(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.
sourceraw docstring

duration-nsclj/s

(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.
sourceraw docstring

ednclj/s

(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.
sourceraw docstring

exclj/s

(ex value)
(ex value opts)

Viewer for datafied exceptions.

Viewer for datafied exceptions.
sourceraw docstring

forclj/s

(for value opts)
source

hiccupclj/s

(hiccup value)
(hiccup value opts)

Render a hiccup value as html via reagent.

Render a hiccup value as html via reagent.
sourceraw docstring

htmlclj/s

(html value)
(html value opts)
source

httpclj/s

(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.
sourceraw docstring

imageclj/s

(image value)
(image value opts)

View a binary value as an image.

View a binary value as an image.
sourceraw docstring

jsonclj/s

(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.
sourceraw docstring

jwtclj/s

(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.
sourceraw docstring

logclj/s

(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).
sourceraw docstring

markdownclj/s

(markdown value)
(markdown value opts)

Parse string as markdown and view as html.

Parse string as markdown and view as html.
sourceraw docstring

pprintclj/s

(pprint value)
(pprint value opts)

View value printed via clojure.pprint/pprint.

View value printed via clojure.pprint/pprint.
sourceraw docstring

pr-strclj/s

(pr-str value)
(pr-str value opts)
source

preplclj/s

(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.
sourceraw docstring

size-bytesclj/s

(size-bytes value)
(size-bytes value opts)
source

tableclj/s

(table value)
(table value opts)

View value as a table. Supports sticky headers and keyboard navigation. opts:

  • columns: vector of keys to use as columns in table.
View value as a table. Supports sticky headers and keyboard navigation.
opts:
- columns: vector of keys to use as columns in table.
sourceraw docstring

test-reportclj/s

(test-report value)
(test-report value opts)

View clojure.test report output.

View clojure.test report output.
sourceraw docstring

textclj/s

(text value)
(text value opts)

View string as a text file.

View string as a text file.
sourceraw docstring

transitclj/s

(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.
sourceraw docstring

treeclj/s

(tree value)
(tree value opts)

For viewing highly nested values, such as hiccup.

For viewing highly nested values, such as hiccup.
sourceraw docstring

vegaclj/s

(vega value)
(vega value opts)
source

vega-liteclj/s

(vega-lite value)
(vega-lite value opts)
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close