Beautiful, AI-native markdown IDE and LLM wiki
TypeScript 2nd-brainagent-skillsclaudecodexcompany-braindocsknowledge-knowledge-baseknowledge-managementllmllm-wikillm-wiki-karpathymarkdownmarkdown-editormdmdxnotespkmsecond-brainskills
export function formatToolList(labels: readonly string[], locale: string): string {
return new Intl.ListFormat(locale || undefined, {
style: 'long',
type: 'conjunction',
}).format(labels);
}
export function formatUnitList(parts: readonly string[], locale: string): string {
return new Intl.ListFormat(locale || undefined, {
style: 'short',
type: 'unit',
}).format(parts);
}