main
Last change
on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
271 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | 'use strict'
|
---|
| 2 |
|
---|
| 3 | const { stringify } = require('jsonfile/utils')
|
---|
| 4 | const { outputFileSync } = require('../output')
|
---|
| 5 |
|
---|
| 6 | function outputJsonSync (file, data, options) {
|
---|
| 7 | const str = stringify(data, options)
|
---|
| 8 |
|
---|
| 9 | outputFileSync(file, str, options)
|
---|
| 10 | }
|
---|
| 11 |
|
---|
| 12 | module.exports = outputJsonSync
|
---|
Note:
See
TracBrowser
for help on using the repository browser.