ghaction-github-pages/node_modules/fs-extra/lib/json/jsonfile.js

12 lines
238 B
JavaScript
Raw Normal View History

2019-11-15 23:20:34 +08:00
'use strict'
const jsonFile = require('jsonfile')
module.exports = {
// jsonfile exports
2020-03-23 17:00:06 +08:00
readJson: jsonFile.readFile,
2019-11-15 23:20:34 +08:00
readJsonSync: jsonFile.readFileSync,
2020-03-23 17:00:06 +08:00
writeJson: jsonFile.writeFile,
2019-11-15 23:20:34 +08:00
writeJsonSync: jsonFile.writeFileSync
}