code: function (options) {
    options            = options || {};
    this.recursive     = options.recursive     || false;
    this.keepEmptyDirs = options.keepEmptyDirs || false;
    this.threshold     = ms(options.threshold  || '7days');
    this.cycle         = ms(options.every);
    this.dirs          = [];
    this.filetime      = /^[acm]time$/i.test(options.filetime) ? options.filetime.toLowerCase() : 'mtime';
  
    if (typeof options.pattern === "string") {
      this.pattern = new RegExp(options.pattern);
    } else if(typeof options.pattern === "object") {
      this.pattern = options.pattern;
    } else {
      this.pattern = false;
    }
  }
docs: Initialize a new Reaper with given options
  @param {Object} options -> threshold     : lifetime of files
  -> recursive     : if set to true, will reap files in subfolders
  -> keepEmptyDirs : if set to true, will keep dir even when it's empty
  -> filetime      : filetime to use as reference
  can be : atime, mtime or ctime
  -> every         : period of time between each reap session
  if not set, reap only once
  -> pattern       : only reap files matching the pattern