0.0.5 • Published 10 years ago

jsonfmt v0.0.5

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

jsonfmt - JSON FORMAT

Installation

npm install jsonfmt -g

Example 1 - output

~/Desktop/file.json contents

[{"foo":"bar"},{"foo":"bar"},{"foo":"bar"},{"foo":"bar"}]

Run command

jsonfmt -f ~/Desktop/file.json

Example output

[
    {
        "foo": "bar"
    },
    {
        "foo": "bar"
    },
    {
        "foo": "bar"
    },
    {
        "foo": "bar"
    }
]

Example 2 - output to file
jsonfmt -f ~/Desktop/file.json > ~/Desktop/fmt_file.json
0.0.5

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago