Last change
on this file since 6a80231 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 |
|
---|
3 | const u = require('universalify').fromCallback
|
---|
4 | const jsonFile = require('jsonfile')
|
---|
5 |
|
---|
6 | module.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.