5.0.2 • Published 5 years ago
fmtjson v5.0.2
fmtjson
Format json files.
Installation
$ npm install fmtjson --saveUsage
Format json files.
'use strict'
const fmtjson = require('fmtjson')
fmtjson([
'src/**/*.json'
], {
sort: true
}).then(() => {
/* ... */
})Options
| Key | Description | Default |
|---|---|---|
| indent | Number of indent | 2 |
| sort | Sort properties or not. | false |
| mode | File permission | '644' |
License
This software is released under the MIT License.
5.0.2
5 years ago
5.0.1
6 years ago
5.0.0
6 years ago
4.0.6
7 years ago
4.0.5
7 years ago
4.0.4
7 years ago
4.0.3
7 years ago
4.0.2
7 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
10 years ago
3.0.0
10 years ago
2.1.0
10 years ago
2.0.3
10 years ago
2.0.2
10 years ago
2.0.1
10 years ago
2.0.0
10 years ago
1.0.2
10 years ago
1.0.1
10 years ago
1.0.0
10 years ago