code: function objectToRecord(object, strict) {
    if (object === null || typeof object !== 'object') {
      throw new TypeError('object must be an Object');
    }
  
    const keys = Object.keys(object);
    const fields = [];
  
    for (let i = 0, len = keys.length; i < len; ++i) {
      const label = keys[i];
      const value = object[keys[i]];
  
      if (strict && !(0, _validator.isValidLabel)(label)) {
        throw new SyntaxError(`unexpected character of label: "${label}"`);
      }
  
      if (strict && !(0, _validator.isValidValue)(value)) {
        throw new SyntaxError(`unexpected character of value: "${value}"`);
      }
  
      fields[i] = label + ':' + value;
    }
  
    return fields.join('\t');
  }
docs: @file LTSV formatter.
  @module formatter
   
  convert to record string from object.
  
  @private
  @param {Object} object
  @param {boolean} strict
  @returns {string}
  @throws {TypeError}