next-format

0.0.17 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i next-format

Weekly Downloads

2

Version

0.0.17

License

MIT

Unpacked Size

4.53 kB

Total Files

9

Last publish

Collaborators

  • pre63