1.0.3 • Published 6 years ago

format-jsonfile v1.0.3

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

format-jsonfile

format-jsonfile is a CLI tool just for formatting your json files.

Install

Using git:

$ git clone https://github.com/tmokmss/format-jsonfile.git
$ cd format-jsonfile
$ npm install .

Using npm:

$ npm install -g format-jsonfile

Usage

Usage: format-jsonfile [input json filename] [OPTIONS]
By default, the formatted json is printed to console

-o | --out    : specify output filename
-w | --width  : specify the number of spaces for indent
-e | --encode : specify encoding for input json (utf8 by default)
-s | --space  : indent by space (default)
-t | --tab    : indent by tab
-h | --help   : print help
1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago