MCPcopy Create free account
hub / github.com/enowdev/enowX-Coder / generateId

Function generateId

src/lib/utils.ts:8–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6}
7
8export function generateId(): string {
9 return Math.random().toString(36).substring(2, 9);
10}
11
12export function formatDate(dateString: string): string {
13 return new Date(dateString).toLocaleDateString(undefined, {

Callers 3

handleKeyDownFunction · 0.90
handleNewChatFunction · 0.90
handleNewSessionFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected