5.0.2 • Published 5 years ago

fmtjson v5.0.2

Weekly downloads
1,828
License
MIT
Repository
github
Last release
5 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

5 years ago

5.0.1

5 years ago

5.0.0

5 years ago

4.0.6

6 years ago

4.0.5

6 years ago

4.0.4

6 years ago

4.0.3

6 years ago

4.0.2

6 years ago

4.0.1

7 years ago

4.0.0

8 years ago

3.0.7

9 years ago

3.0.6

9 years ago

3.0.5

9 years ago

3.0.4

9 years ago

3.0.3

9 years ago

3.0.2

9 years ago

3.0.1

9 years ago

3.0.0

9 years ago

2.1.0

9 years ago

2.0.3

9 years ago

2.0.2

9 years ago

2.0.1

9 years ago

2.0.0

9 years ago

1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago