@wonderwhy-er/desktop-commander
Version:
MCP server for terminal operations and file editing
7 lines (6 loc) • 304 B
TypeScript
export declare function inferLanguageFromPath(filePath: string): string;
export declare function formatJsonIfPossible(content: string, filePath: string): {
content: string;
notice?: string;
};
export declare function renderCodeViewer(code: string, language?: string, startLine?: number): string;