0.0.7 • Published 3 years ago
nfmt v0.0.7
nfmt
Opinionated javascript formatter inspired by golang fmt. Because it just looks cooler this way.
install
yarn global add nfmt
usage
In any directory containing .js
files run nfmt [path]
in the command line and all the files will be formatted. path
is optional.
> nfmt ./src/
api
import next from 'nfmt'
...
// next :: String -> String
next(source) // => FormatedCode