// Simple greeting utility function
function createGreeting(name) {
if (!name || typeof name !== 'string') {
return 'Hello, stranger!';
}
return `Hello, ${name}! Welcome to SlopWatch testing.`;
}
// Export the function
export { createGreeting };
// Test the function
console.log(createGreeting('Alice'));
console.log(createGreeting(''));
console.log(createGreeting(null));
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/JoodasCode/SlopWatch'
If you have feedback or need assistance with the MCP directory API, please join our Discord server