code: function getValidOptions (options) {
    if (typeof options !== 'object') {
      return DEFAULT_OPTIONS
    }
  
    var validOptions = {}
  
    for (var prop in DEFAULT_OPTIONS) {
      if (DEFAULT_OPTIONS.hasOwnProperty(prop)) {
        validOptions[prop] = typeof options[prop] === 'string'
          ? options[prop] : DEFAULT_OPTIONS[prop]
      }
    }
  
    return validOptions
  }
docs: Pseudo-replacement for Object#assign for valid options.
  
  @param {Object} [options]
  @returns {Object} Valid options for scino