@kreuzberg/node 4.5.1 → 4.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -1
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.mts +5 -0
- package/dist/types.d.ts +5 -0
- package/dist/types.js.map +1 -1
- package/index.d.ts +5 -0
- package/index.js +52 -52
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
<img src="https://img.shields.io/maven-central/v/dev.kreuzberg/kreuzberg?label=Java&color=007ec6" alt="Java">
|
|
23
23
|
</a>
|
|
24
24
|
<a href="https://github.com/kreuzberg-dev/kreuzberg/releases">
|
|
25
|
-
<img src="https://img.shields.io/github/v/tag/kreuzberg-dev/kreuzberg?label=Go&color=007ec6&filter=v4.5.
|
|
25
|
+
<img src="https://img.shields.io/github/v/tag/kreuzberg-dev/kreuzberg?label=Go&color=007ec6&filter=v4.5.3" alt="Go">
|
|
26
26
|
</a>
|
|
27
27
|
<a href="https://www.nuget.org/packages/Kreuzberg/">
|
|
28
28
|
<img src="https://img.shields.io/nuget/v/Kreuzberg?label=C%23&color=007ec6" alt="C#">
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
</div>
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
Extract text, tables, images, and metadata from
|
|
64
|
+
Extract text, tables, images, and metadata from 91+ file formats including PDF, Office documents, and images. Native NAPI-RS bindings for Node.js with superior performance, async/await support, and TypeScript type definitions.
|
|
65
65
|
|
|
66
66
|
|
|
67
67
|
## Installation
|
|
@@ -319,9 +319,9 @@ This binding uses NAPI-RS to provide native Node.js bindings with:
|
|
|
319
319
|
|
|
320
320
|
## Features
|
|
321
321
|
|
|
322
|
-
### Supported File Formats (
|
|
322
|
+
### Supported File Formats (91+)
|
|
323
323
|
|
|
324
|
-
|
|
324
|
+
91+ file formats across 8 major categories with intelligent format detection and comprehensive metadata extraction.
|
|
325
325
|
|
|
326
326
|
#### Office Documents
|
|
327
327
|
|
package/dist/index.d.mts
CHANGED
|
@@ -1191,6 +1191,6 @@ declare function __resetBindingForTests(): void;
|
|
|
1191
1191
|
* @module @kreuzberg/node
|
|
1192
1192
|
*/
|
|
1193
1193
|
|
|
1194
|
-
declare const __version__ = "4.5.
|
|
1194
|
+
declare const __version__ = "4.5.3";
|
|
1195
1195
|
|
|
1196
1196
|
export { type EmbeddingPreset, ErrorClassification, ExtractionConfig, ExtractionResult, OcrBackendProtocol, PanicContext, PostProcessorProtocol, ValidatorProtocol, WorkerPool, WorkerPoolStats, __resetBindingForTests, __setBindingForTests, __version__, batchExtractBytes, batchExtractBytesSync, batchExtractFiles, batchExtractFilesInWorker, batchExtractFilesSync, classifyError, clearDocumentExtractors, clearOcrBackends, clearPostProcessors, clearValidators, closeWorkerPool, createWorkerPool, detectMimeType, detectMimeTypeFromPath, extractBytes, extractBytesSync, extractFile, extractFileInWorker, extractFileSync, getEmbeddingPreset, getErrorCodeDescription, getErrorCodeName, getExtensionsForMime, getLastErrorCode, getLastPanicContext, getWorkerPoolStats, listDocumentExtractors, listEmbeddingPresets, listOcrBackends, listPostProcessors, listValidators, loadConfigFile, loadConfigFromPath, registerOcrBackend, registerPostProcessor, registerValidator, unregisterDocumentExtractor, unregisterOcrBackend, unregisterPostProcessor, unregisterValidator, validateMimeType };
|
package/dist/index.d.ts
CHANGED
|
@@ -1191,6 +1191,6 @@ declare function __resetBindingForTests(): void;
|
|
|
1191
1191
|
* @module @kreuzberg/node
|
|
1192
1192
|
*/
|
|
1193
1193
|
|
|
1194
|
-
declare const __version__ = "4.5.
|
|
1194
|
+
declare const __version__ = "4.5.3";
|
|
1195
1195
|
|
|
1196
1196
|
export { type EmbeddingPreset, ErrorClassification, ExtractionConfig, ExtractionResult, OcrBackendProtocol, PanicContext, PostProcessorProtocol, ValidatorProtocol, WorkerPool, WorkerPoolStats, __resetBindingForTests, __setBindingForTests, __version__, batchExtractBytes, batchExtractBytesSync, batchExtractFiles, batchExtractFilesInWorker, batchExtractFilesSync, classifyError, clearDocumentExtractors, clearOcrBackends, clearPostProcessors, clearValidators, closeWorkerPool, createWorkerPool, detectMimeType, detectMimeTypeFromPath, extractBytes, extractBytesSync, extractFile, extractFileInWorker, extractFileSync, getEmbeddingPreset, getErrorCodeDescription, getErrorCodeName, getExtensionsForMime, getLastErrorCode, getLastPanicContext, getWorkerPoolStats, listDocumentExtractors, listEmbeddingPresets, listOcrBackends, listPostProcessors, listValidators, loadConfigFile, loadConfigFromPath, registerOcrBackend, registerPostProcessor, registerValidator, unregisterDocumentExtractor, unregisterOcrBackend, unregisterPostProcessor, unregisterValidator, validateMimeType };
|
package/dist/index.js
CHANGED
|
@@ -547,6 +547,7 @@ function normalizeLayoutDetectionConfig(config) {
|
|
|
547
547
|
setIfDefined(normalized, "preset", config.preset);
|
|
548
548
|
setIfDefined(normalized, "confidenceThreshold", config.confidenceThreshold);
|
|
549
549
|
setIfDefined(normalized, "applyHeuristics", config.applyHeuristics);
|
|
550
|
+
setIfDefined(normalized, "tableModel", config.tableModel);
|
|
550
551
|
return normalized;
|
|
551
552
|
}
|
|
552
553
|
|
|
@@ -1230,7 +1231,7 @@ function getEmbeddingPreset(name) {
|
|
|
1230
1231
|
}
|
|
1231
1232
|
|
|
1232
1233
|
// typescript/index.ts
|
|
1233
|
-
var __version__ = "4.5.
|
|
1234
|
+
var __version__ = "4.5.3";
|
|
1234
1235
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1235
1236
|
0 && (module.exports = {
|
|
1236
1237
|
CacheError,
|