5.0.2 • Published 4 years ago
fmtjson v5.0.2
fmtjson
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
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
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