index.js
function ExpandFiles(options) {
  if (!(this instanceof ExpandFiles)) {
    return new ExpandFiles(options);
  }

  Base.call(this, {}, options);
  this.use(utils.plugins());
  this.is('Files');

  this.options = options || {};
  if (util.isFiles(options) || arguments.length > 1) {
    this.options = {};
    this.expand.apply(this, arguments);
    return this;
  }
}
function ExpandFiles(options) {
  if (!(this instanceof ExpandFiles)) {
    return new ExpandFiles(options);
  }

  Base.call(this, {}, options);
  this.use(utils.plugins());
  this.is('Files');

  this.options = options || {};
  if (util.isFiles(options) || arguments.length > 1) {
    this.options = {};
    this.expand.apply(this, arguments);
    return this;
  }
}
function ExpandFiles ( options ) { if ( ! ( this instanceof ExpandFiles ) ) { return new ExpandFiles ( options ) ; } Base . call ( this , { } , options ) ; this . use ( utils . plugins ( ) ) ; this . is ( 'Files' ) ; this . options = options || { } ; if ( util . isFiles ( options ) || arguments . length > 1 ) { this . options = { } ; this . expand . apply ( this , arguments ) ; return this ; } }
Create an instance of `ExpandFiles` with `options`.

```js
var config = new ExpandFiles({cwd: 'src'});
```
@param {Object} `options`
@api public
Create an instance of ExpandFiles with options .