@kreuzberg/html-to-markdown-node 3.4.0-rc.14 → 3.4.0-rc.16
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/index.d.ts +15 -13
- package/package.json +10 -10
package/index.d.ts
CHANGED
|
@@ -9,6 +9,8 @@ export declare class JsConversionOptionsBuilder {
|
|
|
9
9
|
build(): JsConversionOptions
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
+
export declare function convert(html: string, options?: JsConversionOptions | undefined | null, visitor?: object | undefined | null): JsConversionResult
|
|
13
|
+
|
|
12
14
|
export interface JsAnnotationKind {
|
|
13
15
|
annotation_type: string
|
|
14
16
|
url?: string
|
|
@@ -192,10 +194,10 @@ export interface JsImageMetadata {
|
|
|
192
194
|
}
|
|
193
195
|
|
|
194
196
|
export declare const enum JsImageType {
|
|
195
|
-
DataUri = '
|
|
196
|
-
InlineSvg = '
|
|
197
|
-
External = '
|
|
198
|
-
Relative = '
|
|
197
|
+
DataUri = 'DataUri',
|
|
198
|
+
InlineSvg = 'InlineSvg',
|
|
199
|
+
External = 'External',
|
|
200
|
+
Relative = 'Relative'
|
|
199
201
|
}
|
|
200
202
|
|
|
201
203
|
export interface JsLinkMetadata {
|
|
@@ -213,12 +215,12 @@ export declare const enum JsLinkStyle {
|
|
|
213
215
|
}
|
|
214
216
|
|
|
215
217
|
export declare const enum JsLinkType {
|
|
216
|
-
Anchor = '
|
|
217
|
-
Internal = '
|
|
218
|
-
External = '
|
|
219
|
-
Email = '
|
|
220
|
-
Phone = '
|
|
221
|
-
Other = '
|
|
218
|
+
Anchor = 'Anchor',
|
|
219
|
+
Internal = 'Internal',
|
|
220
|
+
External = 'External',
|
|
221
|
+
Email = 'Email',
|
|
222
|
+
Phone = 'Phone',
|
|
223
|
+
Other = 'Other'
|
|
222
224
|
}
|
|
223
225
|
|
|
224
226
|
export declare const enum JsListIndentType {
|
|
@@ -390,9 +392,9 @@ export interface JsStructuredData {
|
|
|
390
392
|
}
|
|
391
393
|
|
|
392
394
|
export declare const enum JsStructuredDataType {
|
|
393
|
-
JsonLd = '
|
|
394
|
-
Microdata = '
|
|
395
|
-
RDFa = '
|
|
395
|
+
JsonLd = 'JsonLd',
|
|
396
|
+
Microdata = 'Microdata',
|
|
397
|
+
RDFa = 'RDFa'
|
|
396
398
|
}
|
|
397
399
|
|
|
398
400
|
export interface JsTableData {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kreuzberg/html-to-markdown-node",
|
|
3
|
-
"version": "3.4.0-rc.
|
|
3
|
+
"version": "3.4.0-rc.16",
|
|
4
4
|
"description": "High-performance HTML to Markdown converter - Node.js native bindings",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -56,14 +56,14 @@
|
|
|
56
56
|
"@napi-rs/cli": "^3.6.2"
|
|
57
57
|
},
|
|
58
58
|
"optionalDependencies": {
|
|
59
|
-
"@kreuzberg/html-to-markdown-node-darwin-arm64": "3.4.0-rc.
|
|
60
|
-
"@kreuzberg/html-to-markdown-node-darwin-x64": "3.4.0-rc.
|
|
61
|
-
"@kreuzberg/html-to-markdown-node-linux-arm-gnueabihf": "3.4.0-rc.
|
|
62
|
-
"@kreuzberg/html-to-markdown-node-linux-arm64-gnu": "3.4.0-rc.
|
|
63
|
-
"@kreuzberg/html-to-markdown-node-linux-arm64-musl": "3.4.0-rc.
|
|
64
|
-
"@kreuzberg/html-to-markdown-node-linux-x64-gnu": "3.4.0-rc.
|
|
65
|
-
"@kreuzberg/html-to-markdown-node-linux-x64-musl": "3.4.0-rc.
|
|
66
|
-
"@kreuzberg/html-to-markdown-node-win32-arm64-msvc": "3.4.0-rc.
|
|
67
|
-
"@kreuzberg/html-to-markdown-node-win32-x64-msvc": "3.4.0-rc.
|
|
59
|
+
"@kreuzberg/html-to-markdown-node-darwin-arm64": "3.4.0-rc.16",
|
|
60
|
+
"@kreuzberg/html-to-markdown-node-darwin-x64": "3.4.0-rc.16",
|
|
61
|
+
"@kreuzberg/html-to-markdown-node-linux-arm-gnueabihf": "3.4.0-rc.16",
|
|
62
|
+
"@kreuzberg/html-to-markdown-node-linux-arm64-gnu": "3.4.0-rc.16",
|
|
63
|
+
"@kreuzberg/html-to-markdown-node-linux-arm64-musl": "3.4.0-rc.16",
|
|
64
|
+
"@kreuzberg/html-to-markdown-node-linux-x64-gnu": "3.4.0-rc.16",
|
|
65
|
+
"@kreuzberg/html-to-markdown-node-linux-x64-musl": "3.4.0-rc.16",
|
|
66
|
+
"@kreuzberg/html-to-markdown-node-win32-arm64-msvc": "3.4.0-rc.16",
|
|
67
|
+
"@kreuzberg/html-to-markdown-node-win32-x64-msvc": "3.4.0-rc.16"
|
|
68
68
|
}
|
|
69
69
|
}
|