lib/csv.js
/**
 * transform dappList to csv string format
 * @param {object} dappList Data structure that stores many dapp info
 * @return {string} dappList in csv string format
 */
transform dappList to csv string format
@param {object} dappList Data structure that stores many dapp info
@return {string} dappList in csv string format
transform dappList to csv string format @param { object } dappList Data structure that stores many dapp info @return { string } dappList in csv string format
function dappListToCsvString(dappList) {
  var string = '';
  string = getDappHeaderCsvString();
  for (var i = 0; i < dappList.data.length; i++) {
    string += getDappToCsvString(dappList.data[i]);
  }
  return string;
}
function dappListToCsvString ( dappList ) { var string = '' ; string = getDappHeaderCsvString ( ) ; for ( var i = 0 ; i < dappList . data . length ; i ++ ) { string += getDappToCsvString ( dappList . data [ i ] ) ; } return string ; }
transform dappList to csv string format
 @param {object} dappList Data structure that stores many dapp info
 @return {string} dappList in csv string format
transform dappList to csv string format @param { object } dappList Data structure that stores many dapp info @return { string } dappList in csv string format