function pkg2alias( pkg ) {
	var i;
	if ( !isString( pkg ) ) {
		throw new TypeError( format( 'invalid argument. Must provide a string. Value: `%s`.', pkg ) );
	}
	for ( i = 0; i < NAMESPACE.length; i++ ) {
		if ( pkg === NAMESPACE[ i ].path ) {
			return logger.log( NAMESPACE[ i ].alias );
		}
	}
	logger.log( NO_ALIAS_TEXT );
}
Prints the alias corresponding to a provided package name.

@private
@param {string} pkg - package name
@throws {TypeError} must provide a string
@returns {void}