docs: function CSVEncoder(options) {
  
    // Ensure new were used
    if(!(this instanceof CSVEncoder)) {
      return new CSVEncoder(options);
    }
  
    // Parent constructor
    Stream.Transform.call(this, {
      objectMode: true
    });
  
    // Setting objectMode separately
    this._writableState.objectMode = true;
    this._readableState.objectMode = false;
  
    // Keep the options
    this.options = checkOptions(options);
  
    // Build the escape search regular expression
    this._escRegExp = new RegExp(
      '(' + this.options.toEsc.map(escapeRegExpComponent).join('|') + ')',
      'gm'
    );
  
    // Build the quote search regular expression
    if(this.options.toQuote.length) {
      this._quoteRegExp = new RegExp(
        '(' + this.options.toQuote.map(escapeRegExpComponent).join('|') + ')',
        'gm'
      );
    }
  
  }