VibeHunt
Back to browse
zprint

zprint

Library to reformat Clojure and Clojurescript source code and s-expressions

Source

Zprint is a library and command‑line tool that pretty‑prints Clojure and ClojureScript source code as well as generic EDN structures. It goes beyond simple indentation, offering configurable handling of trailing delimiters, line‑wrapping preferences, and reimplementation of formatting for tagged literals. Users can invoke it from a REPL, embed it in projects, or run the supplied macOS and Linux binaries, including a fast Apple‑Silicon version.

The tool supports a range of formatting styles such as sorting `:require` entries, justifying `ns` clauses, and collapsing or indenting trailing right‑hand characters. Options are supplied via a style map, and the executable can process multiple files using glob patterns. Compatibility with babashka enables quick scripting without a full JVM start‑up.

Zprint is targeted at Clojure developers who need consistent, configurable code layout for both source files and data literals, and it is distributed as a stable library on Clojars with pre‑compiled binaries for easy installation.

Reviews

Sign in to leave a review.

Loading reviews…

Similar apps