code: function brequire(module) {
    var basepath = process.env.SRC_base ? path.resolve(process.env.SRC_base)
                    : path.join(__dirname, '..');
    if (module.charAt(0) == '.')
      return require(path.join(basepath, module));
    else //by calling require() from this location we ensure base's copy of the module will get priority
      return require(module);
  }
docs: you can use interchangeably with require except if or 1) you want a instance of module loaded that is distinct from base's instance or 2) you need to load a module using a relative path to your module