source: trip-planner-front/node_modules/fs-extra/lib/json/index.js@ fa375fe

Last change on this file since fa375fe was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 509 bytes
Line 
1'use strict'
2
3const u = require('universalify').fromCallback
4const jsonFile = require('./jsonfile')
5
6jsonFile.outputJson = u(require('./output-json'))
7jsonFile.outputJsonSync = require('./output-json-sync')
8// aliases
9jsonFile.outputJSON = jsonFile.outputJson
10jsonFile.outputJSONSync = jsonFile.outputJsonSync
11jsonFile.writeJSON = jsonFile.writeJson
12jsonFile.writeJSONSync = jsonFile.writeJsonSync
13jsonFile.readJSON = jsonFile.readJson
14jsonFile.readJSONSync = jsonFile.readJsonSync
15
16module.exports = jsonFile
Note: See TracBrowser for help on using the repository browser.