index.js
function (path, maxAge, cronTime, options) {

  this.job = null;
  this.path = path;
  this.maxAge = maxAge;
  this.cronTime = cronTime;
  this.options = util._extend({}, defaultOptions);
  if(typeof options === 'object' && options !== null){
    this.options = util._extend(this.options, options);
  }

  if(this.options.start === true){
    this.start();
  }

}
function (path, maxAge, cronTime, options) {

  this.job = null;
  this.path = path;
  this.maxAge = maxAge;
  this.cronTime = cronTime;
  this.options = util._extend({}, defaultOptions);
  if(typeof options === 'object' && options !== null){
    this.options = util._extend(this.options, options);
  }

  if(this.options.start === true){
    this.start();
  }

}
function ( path , maxAge , cronTime , options ) { this . job = null ; this . path = path ; this . maxAge = maxAge ; this . cronTime = cronTime ; this . options = util . _extend ( { } , defaultOptions ) ; if ( typeof options === 'object' && options !== null ) { this . options = util . _extend ( this . options , options ) ; } if ( this . options . start === true ) { this . start ( ) ; } }
Constructor function, takes the following paramters:

@param string path - Filepath to the folder to watch
@param integer maxAge - value in milliseconds
@param string cronTime - Crontab like string
@param object options - Object with additional options
@constructor
Constructor function takes the following paramters :