index.js
function normalizeProperties(input) {
  if (!input) return;

  if (Array.isArray(input)) {
    return flatten(input).reduce(function (acc, o) {
      return Object.assign(acc, o);
    }, {});
  }

  return clone(input);
}
function normalizeProperties(input) {
  if (!input) return;

  if (Array.isArray(input)) {
    return flatten(input).reduce(function (acc, o) {
      return Object.assign(acc, o);
    }, {});
  }

  return clone(input);
}
function normalizeProperties ( input ) { if ( ! input ) return ; if ( Array . isArray ( input ) ) { return flatten ( input ) . reduce ( function ( acc , o ) { return Object . assign ( acc , o ) ; } , { } ) ; } return clone ( input ) ; }
Takes the `input` properties value and normalizes it into a single object.

@param {Mixed} input  The properties value to normalize.
@return {Object}
Takes the input properties value and normalizes it into a single object .