ocr-space-api-wrapper
Advanced tools
Comparing version
@@ -23,16 +23,22 @@ declare module "ocr-space-api-wrapper" { | ||
type OcrSpaceResponse = { | ||
export type OcrSpaceParsedResult = { | ||
ErrorMessage: string; | ||
ErrorDetails: string; | ||
FileParseExitCode: 0 | 1 | -10 | -20 | -30 | -99; | ||
HasOverlay: boolean; | ||
Message: string; | ||
ParsedText: string; | ||
TextOverlay: { | ||
Lines: any[]; | ||
HasOverlay: boolean; | ||
Message: string; | ||
}; | ||
} | ||
export type OcrSpaceResponse = { | ||
ErrorMessage: string; | ||
ErrorDetails: string; | ||
IsErroredOnProcessing: boolean; | ||
OCRExitCode: number; | ||
ParsedResults: { | ||
ErrorMessage: string; | ||
ErrorDetails: string; | ||
FileParseExitCode: 0 | 1 | -10 | -20 | -30 | -99; | ||
HasOverlay: boolean, | ||
Message: string; | ||
ParsedText: string; | ||
TextOverlay: any; | ||
}[]; | ||
ParsedResults: OcrSpaceParsedResult[]; | ||
ProcessingTimeInMilliseconds: number | ||
@@ -39,0 +45,0 @@ SearchablePDFURL: string; |
{ | ||
"name": "ocr-space-api-wrapper", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "Node.js wrapper for ocr.space APIs.", | ||
@@ -35,10 +35,10 @@ "main": "index.js", | ||
"axios": "0.27.2", | ||
"form-data": "^4.0.0" | ||
"form-data": "^4.0.1" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^8.57.0", | ||
"eslint": "^8.57.1", | ||
"eslint-config-google": "^0.14.0", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0" | ||
"mocha": "^10.7.3", | ||
"nyc": "^17.1.0" | ||
} | ||
} |
456769
0.03%1187
0.42%Updated