Skip to main content
Glama
slugify.ts400 B
/** * String utility functions */ /** * Convert a title string to a URL-friendly slug * @param title - The title to slugify * @returns A slugified version of the title */ export function slugifyTitle(title: string): string { if (!title) { return ""; } return title .toLowerCase() .replace(/[^a-z0-9]+/g, "-") .replace(/^-+|-+$/g, "") .slice(0, 60); // limit length }

Latest Blog Posts

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/tangbodie/clickup-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server