function resolve( name, options ) {
		if ( !isString( name ) ) {
			throw new TypeError( format( 'invalid argument. First argument must be a string. Value: `%s`.', name ) );
		}
		return resolveFilename( name, module, false, options );
	}
Attempts to resolve a module.

@private
@param {string} name - module
@param {Object} [options] - options
@throws {TypeError} first argument must be a string
@returns {string} module filepath