src/index.js
function csvFieldNames (inFields) {
  const fieldNames = _.map(inFields, (field) => {
    return convertFieldName(field)
  })
  return fieldNames
}
function csvFieldNames (inFields) {
  const fieldNames = _.map(inFields, (field) => {
    return convertFieldName(field)
  })
  return fieldNames
}
function csvFieldNames ( inFields ) { const fieldNames = _ . map ( inFields , ( field ) => { return convertFieldName ( field ) } ) return fieldNames }
Parse array of field names and sanitize them

@param {array} inFields - array of field names
@returns {array} fieldNames - array of sanitized field Names
Parse array of field names and sanitize them