code: function extendDefaultOptions(options) {
    return Object.assign({
      dir: DEFAULT_DIRECTORY,
      extensions: DEFAULT_EXTENSIONS,
      params: DEFAULT_PARAMS
    }, options);
  }
docs: Extends default options with user options.
  
  @param {Object} options
  @returns {Object}