/**
* Thoroughly removes all types of whitespace characters from both ends of a string.
* Handles spaces, tabs, line breaks, and carriage returns.
*/
export const fullTrim = (str: string): string => {
return str.replace(/^[\s\r\n\t]+|[\s\r\n\t]+$/g, "");
};
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/arabold/docs-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server