Skip to main content
Glama
types.ts714 B
export interface PdfOptions { format?: 'A4' | 'A3' | 'Letter' | 'Legal' | 'Tabloid'; landscape?: boolean; printBackground?: boolean; scale?: number; marginTop?: string; marginBottom?: string; marginLeft?: string; marginRight?: string; displayHeaderFooter?: boolean; headerTemplate?: string; footerTemplate?: string; preferCSSPageSize?: boolean; } export interface ConvertOptions extends PdfOptions { htmlPath?: string; htmlContent?: string; outputPath?: string; waitForNetworkIdle?: boolean; timeout?: number; } export interface ConvertResult { success: boolean; outputPath?: string; error?: string; details?: { processingTime: number; fileSize?: number; }; }

Latest Blog Posts

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/jesamkim/html2pdf'

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