lib/renderer.js
function Renderer(options) {
  var defaults = {
    headers: {
      included: true,
      downcase: true,
      upcase: true
    },

    delimiter: 'tab',
    decimalSign: 'comma',
    outputDataType: 'json',
    columnDelimiter: "\t",
    rowDelimiter: '\n',

    inputHeader: {},
    outputHeader: {},
    dataSelect: {},

    outputText: '',

    newline: '\n',
    indent: '  ',

    commentLine: '//',
    commentLineEnd: '',
    tableName: 'converter',

    useUnderscores: true,
    includeWhiteSpace: true,
    useTabsForIndent: false
  };

  this.options = merge({}, defaults, options);
  if (this.options.includeWhiteSpace) {
    this.options.newline = '\n';
  } else {
    this.options.indent = '';
    this.options.newline = '';
  }
}
function Renderer(options) {
  var defaults = {
    headers: {
      included: true,
      downcase: true,
      upcase: true
    },

    delimiter: 'tab',
    decimalSign: 'comma',
    outputDataType: 'json',
    columnDelimiter: "\t",
    rowDelimiter: '\n',

    inputHeader: {},
    outputHeader: {},
    dataSelect: {},

    outputText: '',

    newline: '\n',
    indent: '  ',

    commentLine: '//',
    commentLineEnd: '',
    tableName: 'converter',

    useUnderscores: true,
    includeWhiteSpace: true,
    useTabsForIndent: false
  };

  this.options = merge({}, defaults, options);
  if (this.options.includeWhiteSpace) {
    this.options.newline = '\n';
  } else {
    this.options.indent = '';
    this.options.newline = '';
  }
}
function Renderer ( options ) { var defaults = { headers : { included : true , downcase : true , upcase : true } , delimiter : 'tab' , decimalSign : 'comma' , outputDataType : 'json' , columnDelimiter : "\t" , rowDelimiter : '\n' , inputHeader : { } , outputHeader : { } , dataSelect : { } , outputText : '' , newline : '\n' , indent : '  ' , commentLine : '//' , commentLineEnd : '' , tableName : 'converter' , useUnderscores : true , includeWhiteSpace : true , useTabsForIndent : false } ; this . options = merge ( { } , defaults , options ) ; if ( this . options . includeWhiteSpace ) { this . options . newline = '\n' ; } else { this . options . indent = '' ; this . options . newline = '' ; } }
Create a new `Renderer` with the given `options`.

```js
var csv = require('parse-csv');
var renderer = new csv.Renderer();
```
@param {Object} `options`
@api public
Create a new Renderer with the given options .