Skip to content
/ nfmt Public

Opinionated javascript formatter inspired by golang fmt. Because it just looks cooler this way.

License

Notifications You must be signed in to change notification settings

pre63/nfmt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Opinionated javascript formatter inspired by golang fmt. Because it just looks cooler this way.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published