Skip to main content
Glama
string-utils.js484 B
export function includes(str, needle) { return str.indexOf(needle) !== -1; } // UNDERSCORE // Embed part of the Underscore Library export var trim = function (str) { return str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, ''); }; export var stripLeadingDollar = function (s) { return s.replace(/^\$/, ''); }; export function isDistinctIdStringLike(value) { return ['distinct_id', 'distinctid'].includes(value.toLowerCase()); } //# sourceMappingURL=string-utils.js.map

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/sadiuysal/mem0-mcp-server-ts'

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