function aliases( namespace ) {
	var pkgs;
	var out;
	var i;
	var p;
	if ( arguments.length === 0 ) {
		return ALIASES.slice();
	}
	if ( !isString( namespace ) ) {
		throw new TypeError( format( 'invalid argument. Must provide a string. Value: `%s`.', namespace ) );
	}
	pkgs = resolvePackages();
	out = [];
	for ( i = 0; i < pkgs.length; i++ ) {
		p = pkgs[ i ];
		if ( p[ 0 ] && startsWith( p[ 0 ], namespace ) ) {
			out.push( p[1] );
		}
	}
	return out;
}
Returns a list of standard library aliases.

@param {string} [namespace] - namespace filter
@throws {TypeError} must provide a string
@returns {Array} list of aliases

@example
var list = aliases();
// returns [...]

@example
var list = aliases( '@stdlib/math/base/special' );
// returns [...]