index.js
function Mock(mount, options) {
    // convert to absolute path
    this.mount = mount;
    this.options = options || {};
    this.options.params = this.options.params === undefined ? true : this.options.params;
    this.locator = new Locator(mount);

    debug('mount at %s', this.mount);
}
function Mock(mount, options) {
    // convert to absolute path
    this.mount = mount;
    this.options = options || {};
    this.options.params = this.options.params === undefined ? true : this.options.params;
    this.locator = new Locator(mount);

    debug('mount at %s', this.mount);
}
function Mock ( mount , options ) { // convert to absolute path this . mount = mount ; this . options = options || { } ; this . options . params = this . options . params === undefined ? true : this . options . params ; this . locator = new Locator ( mount ) ; debug ( 'mount at %s' , this . mount ) ; }
Initialize a `Mock` instance.

@constructor
@param {string} mount Root directory of mock data
@param {Object} options
@param {boolean} options.params Whether to supply response with additional
request and response params, default to true
Initialize a Mock instance .