New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

ocr-space-api-wrapper

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ocr-space-api-wrapper - npm Package Compare versions

Comparing version

to
2.3.2

26

index.d.ts

@@ -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"
}
}