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

Function htmlEscape

whois/whois.ts:20–24  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

18dayjs.locale('zh-cn');
19
20// 必需工具函数
21// 解析 namebeta.com 的 SSE 流式响应,返回各事件对象
22function parseSSEResponse(raw: string): Array<{type: string; data: any}> {
23 const events: Array<{type: string; data: any}> = [];
24 for (const line of raw.split('\n')) {
25 const trimmed = line.trim();
26 if (!trimmed.startsWith('data: ')) continue;
27 try {

Callers 4

handleWhoisMethod · 0.70
displayWhoisResultMethod · 0.70
handleBatchQueryMethod · 0.70
showHistoryMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected