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

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

initial commit

  • Property mode set to 100644
File size: 291 bytes
Line 
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.