Skip to content

A node script that reformats a file to proper clojure formatting

License

Notifications You must be signed in to change notification settings

snoe/node-cljfmt

Repository files navigation

Deprecated

Check out https://gitlab.com/konrad.mrozek/cljfmt-graalvm/

node-cljfmt

A small cli utility that runs https://github.com/weavejester/cljfmt on a file.

Installation

npm install -g node-cljfmt

Usage

cljfmt <filename>
cljfmt --edn=<options.edn> <filename>
cat <filename> | cljfmt --edn=<options.edn>

options.edn is an optional file containing a map of cljfmt options as laid out here: https://github.com/weavejester/cljfmt#configuration

Developing

You can build the exectuable bin/cljfmt with the following:

# lein cljsbuild once release
# chmod +x bin/cljfmt

About

A node script that reformats a file to proper clojure formatting

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published