index.js
function BFFS(options) {
  if (!this) return new BFFS(options);

  options = this.init(options);

  var store = options.store;
  var prefix = options.prefix;
  var env = options.env;
  var cdn = options.cdn;

  //
  // We keep the running status of builds in redis.
  //
  this.store = store;

  //
  // Everything else we store in Cassandra.
  //
  this.datastar = options.datastar;
  this.models = options.models;
  this.log = options.log;
  this.prefix = prefix;
  this.envs = env;

  this.cdns = this.cdnify(cdn);
  this.limit = options.limit;

  //
  // Always fetch by locale so we default our locale property if it does not
  // exist.
  //
  this.defaultLocale = 'en-US';
}
function BFFS(options) {
  if (!this) return new BFFS(options);

  options = this.init(options);

  var store = options.store;
  var prefix = options.prefix;
  var env = options.env;
  var cdn = options.cdn;

  //
  // We keep the running status of builds in redis.
  //
  this.store = store;

  //
  // Everything else we store in Cassandra.
  //
  this.datastar = options.datastar;
  this.models = options.models;
  this.log = options.log;
  this.prefix = prefix;
  this.envs = env;

  this.cdns = this.cdnify(cdn);
  this.limit = options.limit;

  //
  // Always fetch by locale so we default our locale property if it does not
  // exist.
  //
  this.defaultLocale = 'en-US';
}
function BFFS ( options ) { if ( ! this ) return new BFFS ( options ) ; options = this . init ( options ) ; var store = options . store ; var prefix = options . prefix ; var env = options . env ; var cdn = options . cdn ; // // We keep the running status of builds in redis. // this . store = store ; // // Everything else we store in Cassandra. // this . datastar = options . datastar ; this . models = options . models ; this . log = options . log ; this . prefix = prefix ; this . envs = env ; this . cdns = this . cdnify ( cdn ) ; this . limit = options . limit ; // // Always fetch by locale so we default our locale property if it does not // exist. // this . defaultLocale = 'en-US' ; }
Build Files Finder, BFFS <3

Options:

- store: Dynamis configuration.
- env: Allowed environment variables.
- cdn: Configuration for the CDN.

@constructor
@param {Object} options Configuration.
@api private
Build Files Finder BFFS <3