function depList( pkg, options ) {
	var opts;
	var err;

	if ( !isString( pkg ) ) {
		throw new TypeError( format( 'invalid argument. First argument must be a string. Value: `%s`.', pkg ) );
	}
	opts = copy( config );
	if ( arguments.length > 1 ) {
		err = validate( opts, options );
		if ( err ) {
			throw err;
		}
	}
	return deps( pkg, opts.dev ).sort( ascending );
}
Returns a list of dependencies for a specified stdlib package.

@param {string} pkg - package name
@param {Options} [options] - function options
@param {string} [options.dev=false] - boolean indicating whether to return development dependencies
@throws {TypeError} first argument must be a string
@returns {(StringArray|EmptyArray)} dependencies