|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 13 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
508 bytes
|
| Line | |
|---|
| 1 | 'use strict'
|
|---|
| 2 |
|
|---|
| 3 | const u = require('universalify').fromPromise
|
|---|
| 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.