index.js
function findCompressionByName(encodingName) {
        for (var i = 0; i < compressions.length; i++) {
            if (compressions[i].encodingName === encodingName)
                return compressions[i];
        }
        return null;
    }
function findCompressionByName(encodingName) {
        for (var i = 0; i < compressions.length; i++) {
            if (compressions[i].encodingName === encodingName)
                return compressions[i];
        }
        return null;
    }
function findCompressionByName ( encodingName ) { for ( var i = 0 ; i < compressions . length ; i ++ ) { if ( compressions [ i ] . encodingName === encodingName ) return compressions [ i ] ; } return null ; }
Compression lookup by name.
@param {string} encodingName
@returns {Compression}
Compression lookup by name .