text: "use strict";
  
  Object.defineProperty(exports, "__esModule", {
    value: true
  });
  exports.defaultOptions = exports.options = void 0;
  
  var _validate = require("./validate");
  
  const defaultOptions = {
    format: 'real',
    type: 'json',
    style: 'csl',
    lang: 'en-US'
  };
  exports.defaultOptions = defaultOptions;
  
  const options = function (options, log) {
    (0, _validate.validateOutputOptions)(options);
  
    if (log) {
      this.save();
    }
  
    Object.assign(this._options, options);
    return this;
  };
  
  exports.options = options;