next-format
v0.0.17
Published
Opinionated es-next formatter inspired by golang fmt.
Downloads
55
Readme
next-format
Opinionated es-next formatter inspired by golang fmt.
install
yarn add --dev next-format
usage
In any directory containing .js
files run nextformat [path]
in the command line and all the javascript files will be formatted. path
is optional.
> nextformat ./src/
api
import next from 'next-format'
...
// next :: String -> String
next(source) // => FormatedCode