Last change
on this file since 6c1585f was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
509 bytes
|
Rev | Line | |
---|
[6a3a178] | 1 | 'use strict'
|
---|
| 2 |
|
---|
| 3 | const u = require('universalify').fromCallback
|
---|
| 4 | const jsonFile = require('./jsonfile')
|
---|
| 5 |
|
---|
| 6 | jsonFile.outputJson = u(require('./output-json'))
|
---|
| 7 | jsonFile.outputJsonSync = require('./output-json-sync')
|
---|
| 8 | // aliases
|
---|
| 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
|
---|
Note:
See
TracBrowser
for help on using the repository browser.