5.0.2 • Published 4 years ago

fmtjson v5.0.2

Weekly downloads
1,828
License
MIT
Repository
github
Last release
4 years ago

fmtjson

Build Status npm Version JS Standard

Format json files.

Installation

$ npm install fmtjson --save

Usage

Format json files.

'use strict'

const fmtjson = require('fmtjson')

fmtjson([
  'src/**/*.json'
], {
  sort: true
}).then(() => {
  /* ... */
})

Options

KeyDescriptionDefault
indentNumber of indent2
sortSort properties or not.false
modeFile permission'644'

License

This software is released under the MIT License.

5.0.2

4 years ago

5.0.1

4 years ago

5.0.0

4 years ago

4.0.6

5 years ago

4.0.5

5 years ago

4.0.4

5 years ago

4.0.3

5 years ago

4.0.2

5 years ago

4.0.1

6 years ago

4.0.0

6 years ago

3.0.7

8 years ago

3.0.6

8 years ago

3.0.5

8 years ago

3.0.4

8 years ago

3.0.3

8 years ago

3.0.2

8 years ago

3.0.1

8 years ago

3.0.0

8 years ago

2.1.0

8 years ago

2.0.3

8 years ago

2.0.2

8 years ago

2.0.1

8 years ago

2.0.0

8 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago