source: trip-planner-front/node_modules/fs-extra/lib/json/jsonfile.js@ 571e0df

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

initial commit

  • Property mode set to 100644
File size: 291 bytes
RevLine 
[6a3a178]1'use strict'
2
3const u = require('universalify').fromCallback
4const jsonFile = require('jsonfile')
5
6module.exports = {
7 // jsonfile exports
8 readJson: u(jsonFile.readFile),
9 readJsonSync: jsonFile.readFileSync,
10 writeJson: u(jsonFile.writeFile),
11 writeJsonSync: jsonFile.writeFileSync
12}
Note: See TracBrowser for help on using the repository browser.