lib/csv.js
/**
 * transform icoEventList to csv string format
 * @param {object} icoEventList Data structure that stores many icoEvent.
 * @return {string} icoEventList in csv string format
 */
transform icoEventList to csv string format
@param {object} icoEventList Data structure that stores many icoEvent.
@return {string} icoEventList in csv string format
transform icoEventList to csv string format @param { object } icoEventList Data structure that stores many icoEvent . @return { string } icoEventList in csv string format
function icoEventListToCsvString(icoEventList) {
  var string = '';
  string = getIcoEventHeaderCsvString();
  for (var i = 0; i < icoEventList.data.length; i++) {
    string += getIcoEventToCsvString(icoEventList.data[i]);
  }
  return string;
}
function icoEventListToCsvString ( icoEventList ) { var string = '' ; string = getIcoEventHeaderCsvString ( ) ; for ( var i = 0 ; i < icoEventList . data . length ; i ++ ) { string += getIcoEventToCsvString ( icoEventList . data [ i ] ) ; } return string ; }
transform icoEventList to csv string format
 @param {object} icoEventList Data structure that stores many icoEvent.
transform icoEventList to csv string format @param { object } icoEventList Data structure that stores many icoEvent .