cjs/parser.js
function baseParseLine(line, strict) {
  const fields = String(line).replace(/(?:\r?\n)+$/, '').split('\t');
  const record = {};

  for (let i = 0, len = fields.length; i < len; ++i) {
    const _splitField = splitField(fields[i], strict),
          label = _splitField.label,
          value = _splitField.value;

    record[label] = value;
  }

  return record;
}
function baseParseLine(line, strict) {
  const fields = String(line).replace(/(?:\r?\n)+$/, '').split('\t');
  const record = {};

  for (let i = 0, len = fields.length; i < len; ++i) {
    const _splitField = splitField(fields[i], strict),
          label = _splitField.label,
          value = _splitField.value;

    record[label] = value;
  }

  return record;
}
function baseParseLine ( line , strict ) { const fields = String ( line ) . replace ( / (?:\r?\n)+$ / , '' ) . split ( '\t' ) ; const record = { } ; for ( let i = 0 , len = fields . length ; i < len ; ++ i ) { const _splitField = splitField ( fields [ i ] , strict ) , label = _splitField . label , value = _splitField . value ; record [ label ] = value ; } return record ; }
parse LTSV record.

@private
@param {string} line
@param {boolean} strict
@returns {Object}
parse LTSV record .