15 lines
402 B
JavaScript
15 lines
402 B
JavaScript
var jsonFile = require('jsonfile')
|
|
|
|
module.exports = {
|
|
// jsonfile exports
|
|
readJson: jsonFile.readFile,
|
|
readJSON: jsonFile.readFile,
|
|
readJsonSync: jsonFile.readFileSync,
|
|
readJSONSync: jsonFile.readFileSync,
|
|
writeJson: jsonFile.writeFile,
|
|
writeJSON: jsonFile.writeFile,
|
|
writeJsonSync: jsonFile.writeFileSync,
|
|
writeJSONSync: jsonFile.writeFileSync,
|
|
spaces: 2 // default in fs-extra
|
|
}
|