lib/converters/index.js
function (collection, options, callback) {
        var chosenConverter = this.getConverter(options.inputVersion, options.outputVersion);

        if (!chosenConverter) {
            return callback(new Error('no conversion path found'));
        }

        return chosenConverter.convert(collection, options, callback);
    }
function (collection, options, callback) {
        var chosenConverter = this.getConverter(options.inputVersion, options.outputVersion);

        if (!chosenConverter) {
            return callback(new Error('no conversion path found'));
        }

        return chosenConverter.convert(collection, options, callback);
    }
function ( collection , options , callback ) { var chosenConverter = this . getConverter ( options . inputVersion , options . outputVersion ) ; if ( ! chosenConverter ) { return callback ( new Error ( 'no conversion path found' ) ) ; } return chosenConverter . convert ( collection , options , callback ) ; }
Picks the appropriate converter and converts the given collection.

@param {Object} collection - The collection to be converted.
@param {Object} options - The set of options for request conversion.
@param {Function} callback - The function to be invoked after the completion of conversion process.
Picks the appropriate converter and converts the given collection .