lib/print-package-versions.js
function getMaxPackageNameLength (packages)
{
    return Object
        .keys(packages)
        .reduce((max, name) => Math.max(max, name.length), 0);
}
function getMaxPackageNameLength (packages)
{
    return Object
        .keys(packages)
        .reduce((max, name) => Math.max(max, name.length), 0);
}
function getMaxPackageNameLength ( packages ) { return Object . keys ( packages ) . reduce ( ( max , name ) => Math . max ( max , name . length ) , 0 ) ; }
Returns the max package name length

@private
@param {Object.<string,string>} packages
@return {number}
Returns the max package name length