Skip to content

armgit / mem0

Public Imported from GitHub
0

The Memory Layer for AI Agents - Drop-in memory infrastructure for AI agents and apps. Context that persists. Built for production.

160 B
Raw Blame
export const toTitleCase = (str: string) => {
  if (!str) return "";
  str = str.toLowerCase();
  return str.replace(/\b\w/g, (char) => char.toUpperCase());
};