Skip to main content
Glama

vulcan-file-ops

html-to-pdfmake.ts555 B
/** * Mock for html-to-pdfmake module * * This mock converts HTML to pdfmake document definition format. */ export default function htmlToPdfmake(htmlContent: string, options?: any): any { // Simple mock conversion that extracts basic text const text = htmlContent .replace(/<[^>]*>/g, " ") // Remove HTML tags .replace(/\s+/g, " ") // Normalize whitespace .trim(); // Return a simple pdfmake document definition return [ { text: text || "Empty document", fontSize: 12, margin: [0, 5, 0, 10], }, ]; }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/n0zer0d4y/vulcan-file-ops'

If you have feedback or need assistance with the MCP directory API, please join our Discord server