cjs/parser.js
function baseParse(text, strict) {
  const lines = String(text).replace(/(?:\r?\n)+$/, '').split(/\r?\n/);
  const records = [];

  for (let i = 0, len = lines.length; i < len; ++i) {
    records[i] = baseParseLine(lines[i], strict);
  }

  return records;
}
function baseParse(text, strict) {
  const lines = String(text).replace(/(?:\r?\n)+$/, '').split(/\r?\n/);
  const records = [];

  for (let i = 0, len = lines.length; i < len; ++i) {
    records[i] = baseParseLine(lines[i], strict);
  }

  return records;
}
function baseParse ( text , strict ) { const lines = String ( text ) . replace ( / (?:\r?\n)+$ / , '' ) . split ( / \r?\n / ) ; const records = [ ] ; for ( let i = 0 , len = lines . length ; i < len ; ++ i ) { records [ i ] = baseParseLine ( lines [ i ] , strict ) ; } return records ; }
parse LTSV text.

@private
@param {string} text
@param {boolean} strict
@returns {Object[]}
parse LTSV text .