whole_func_string: function applyOptions(options) {
    const settings = {};
    options = options || {};
    Object.assign(settings, defaults, options);
  
    return settings;
  }
func_code_string: function applyOptions(options) {
    const settings = {};
    options = options || {};
    Object.assign(settings, defaults, options);
  
    return settings;
  }
func_documentation_string: Merge default options with overwrites and returns new object