'use strict';

var utils = require('../../../jsonfile/utils.js');
var index = require('../output-file/index.js');

const { stringify } = utils.utils;
const { outputFile } = index.outputFile_1;

async function outputJson (file, data, options = {}) {
  const str = stringify(data, options);

  await outputFile(file, str, options);
}

var outputJson_1 = outputJson;

exports.outputJson_1 = outputJson_1;
