index.js
/*
 * prepare prepares a string block into an array of rows of cells of strings
 *
 * @param {String} string
 * @return {Array}
 */
prepare prepares a string block into an array of rows of cells of strings
@param {String} string
@return {Array}
prepare prepares a string block into an array of rows of cells of strings @param { String } string @return { Array }
function prepare(str) {
  var lines = str.split(/\n/);
  var i = 0;
  var len = lines.length;
  for(; i<len; i++) {
    var line = lines[i].split("|");
    lines[i] = normalize(line);
  }
  return lines;
}
function prepare ( str ) { var lines = str . split ( / \n / ) ; var i = 0 ; var len = lines . length ; for ( ; i < len ; i ++ ) { var line = lines [ i ] . split ( "|" ) ; lines [ i ] = normalize ( line ) ; } return lines ; }
prepare prepares a string block into an array of rows of cells of strings
 @param {String} string
 @return {Array}
prepare prepares a string block into an array of rows of cells of strings @param { String } string @return { Array }