UNPKG

file-converter-nodejs

Version:

A powerful Node.js package for converting files between various formats, splitting and merging files, and automating complex file operations. Backed by LibreOffice and Python, this tool makes file processing seamless for developers.

13 lines (12 loc) 621 B
import { ProcessorsOutput } from './types'; export declare class PythonProcessor { private pythonPath; constructor(pythonPath: string); private invokePythonHandler; handleSplitPdf: (filePath: string, outdir: string) => string[]; handleSplitPptx: (filePath: string, outdir: string) => string[]; handleMergePptx: (inputFiles: string[], outputFile: string) => string; handleMergePdf: (inputFiles: string[], outputFile: string) => string; handleMergeDocx: (inputFiles: string[], outputFile: string) => string; } export declare const handleCleanup: (processorOutput: ProcessorsOutput) => void;