lib/utils/helpers.js
function normalizeOptions(options, include) {
            _.forEach(options, function (v,k) {
                if(!_.contains(include, k))
                    delete options[k];
            });
            return options;
        }
function normalizeOptions(options, include) {
            _.forEach(options, function (v,k) {
                if(!_.contains(include, k))
                    delete options[k];
            });
            return options;
        }
function normalizeOptions ( options , include ) { _ . forEach ( options , function ( v , k ) { if ( ! _ . contains ( include , k ) ) delete options [ k ] ; } ) ; return options ; }
Normalize options including only required.
@memberof Helpers
@param {object} options - the options object.
@param {array} include - an array of keys to include.
@returns {object}
Normalize options including only required .