1 | 'use strict'
|
2 |
|
3 | const u = require('universalify').fromPromise
|
4 | const jsonFile = require('./jsonfile')
|
5 |
|
6 | jsonFile.outputJson = u(require('./output-json'))
|
7 | jsonFile.outputJsonSync = require('./output-json-sync')
|
8 |
|
9 | jsonFile.outputJSON = jsonFile.outputJson
|
10 | jsonFile.outputJSONSync = jsonFile.outputJsonSync
|
11 | jsonFile.writeJSON = jsonFile.writeJson
|
12 | jsonFile.writeJSONSync = jsonFile.writeJsonSync
|
13 | jsonFile.readJSON = jsonFile.readJson
|
14 | jsonFile.readJSONSync = jsonFile.readJsonSync
|
15 |
|
16 | module.exports = jsonFile
|