Pluggable · Configurable · Unified

kprint

A pluggable and configurable code formatting platform. One fast, secure tool for every language in your repo.

~/app
$ kprint fmt
Formatted 248 files in 41ms.
$ kprint check
No files needed formatting.
$
// why kprint

One tool for every formatter in your stack.

01
Fast

Built with Rust and WebAssembly. Formats hundreds of files in milliseconds, with incremental caching by default.

02
Multi-language

One ecosystem-agnostic tool for every formatter in your repo. No more juggling a different CLI per language.

03
Secure

Wasm plugins run sandboxed — no access to the network or file system. Run untrusted formatters with confidence.

04
Configurable

Official plugins expose real knobs. Tweak formatting to match your house style instead of fighting the defaults.

05
Extensible

Plugins load from a URL or file path. Easy to share across a team, easy to pin and version in your config.

// install

Up and running in one line.

Pick your platform. The CLI is a single static binary with no runtime dependencies.

$ curl -fsSL https://dprint.kjanat.dev/install.sh | sh
Then run kprint init to scaffold a kprint.json in your project.
// plugins

Format the whole stack.

Load any plugin from a URL. Mix official formatters with battle-tested wrappers.

Official plugins
Wrapper plugins
Everything else
kprint fmt

Stop arguing about whitespace. Add kprint to your repo and format everything, everywhere, in one pass.

Install kprint