UNPKG

form-pdf2json

Version:

NodeJS library to convert pdf to json or vice versa

18 lines (17 loc) 537 B
/// <reference types="lodash" /> interface IField { [key: string]: string; } export default class Pdf2Json { private sourcePath; private outputPath; constructor(); exportPdf2Json(fileName: string): Promise<void>; convertPdf2Json(fileName: string): Promise<IField[]>; exportPdf2Fdf(fileName: string): Promise<void>; convertJson2Fdf(fileName: string): Promise<import("lodash").Dictionary<any>>; exportJson2Pdf(fileName: string): Promise<void>; private exportFile; private getFiles; } export {};