umay-render
Version:
Free, high-performance HTML to PDF and HTML to Image conversion SDK for both browser and Node.js
9 lines (8 loc) • 337 B
TypeScript
import { UmayConfig } from "./config";
import { PdfOptions, ImageOptions } from "./schemas";
export declare class UmaySDK {
private httpClient;
constructor(config?: Partial<UmayConfig>);
toPDF(html: string, options?: PdfOptions): Promise<Uint8Array>;
toImage(html: string, options?: ImageOptions): Promise<Uint8Array>;
}