MCPcopy Create free account
hub / github.com/TeleBoxOrg/TeleBox_Plugins / applyWrap

Function applyWrap

uai/uai.ts:70–75  ·  view source on GitHub ↗
(s: string, collapse?: boolean)

Source from the content-addressed store, hash-verified

68};
69
70function trimBase(url: string): string {
71 return url.replace(/\/$/, "");
72}
73
74function formatDate(date: Date): string {
75 const y = date.getFullYear();
76 const m = String(date.getMonth() + 1).padStart(2, "0");
77 const d = String(date.getDate()).padStart(2, "0");
78 const h = String(date.getHours()).padStart(2, "0");

Callers 1

UAIPluginClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected