html-to-markdown-wasm 2.6.2 → 2.6.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/dist/html_to_markdown_wasm.d.ts +4 -4
- package/dist/html_to_markdown_wasm_bg.js +7 -6
- package/dist/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist/package.json +1 -1
- package/dist-node/html_to_markdown_wasm.d.ts +4 -4
- package/dist-node/html_to_markdown_wasm.js +7 -6
- package/dist-node/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist-node/package.json +1 -1
- package/dist-web/html_to_markdown_wasm.d.ts +4 -4
- package/dist-web/html_to_markdown_wasm.js +7 -6
- package/dist-web/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist-web/package.json +1 -1
- package/package.json +1 -1
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Initialize panic hook for better error messages in the browser
|
|
5
|
-
*/
|
|
6
|
-
export function init(): void;
|
|
7
3
|
/**
|
|
8
4
|
* Convert HTML to Markdown while collecting inline images
|
|
9
5
|
*
|
|
@@ -28,6 +24,10 @@ export function init(): void;
|
|
|
28
24
|
* ```
|
|
29
25
|
*/
|
|
30
26
|
export function convertWithInlineImages(html: string, options: any, image_config?: WasmInlineImageConfig | null): WasmHtmlExtraction;
|
|
27
|
+
/**
|
|
28
|
+
* Initialize panic hook for better error messages in the browser
|
|
29
|
+
*/
|
|
30
|
+
export function init(): void;
|
|
31
31
|
/**
|
|
32
32
|
* Convert HTML to Markdown
|
|
33
33
|
*
|
|
@@ -231,12 +231,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
231
231
|
}
|
|
232
232
|
return result;
|
|
233
233
|
}
|
|
234
|
-
/**
|
|
235
|
-
* Initialize panic hook for better error messages in the browser
|
|
236
|
-
*/
|
|
237
|
-
export function init() {
|
|
238
|
-
wasm.init();
|
|
239
|
-
}
|
|
240
234
|
|
|
241
235
|
function _assertClass(instance, klass) {
|
|
242
236
|
if (!(instance instanceof klass)) {
|
|
@@ -293,6 +287,13 @@ export function convertWithInlineImages(html, options, image_config) {
|
|
|
293
287
|
}
|
|
294
288
|
}
|
|
295
289
|
|
|
290
|
+
/**
|
|
291
|
+
* Initialize panic hook for better error messages in the browser
|
|
292
|
+
*/
|
|
293
|
+
export function init() {
|
|
294
|
+
wasm.init();
|
|
295
|
+
}
|
|
296
|
+
|
|
296
297
|
/**
|
|
297
298
|
* Convert HTML to Markdown
|
|
298
299
|
*
|
|
Binary file
|
package/dist/package.json
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Initialize panic hook for better error messages in the browser
|
|
5
|
-
*/
|
|
6
|
-
export function init(): void;
|
|
7
3
|
/**
|
|
8
4
|
* Convert HTML to Markdown while collecting inline images
|
|
9
5
|
*
|
|
@@ -28,6 +24,10 @@ export function init(): void;
|
|
|
28
24
|
* ```
|
|
29
25
|
*/
|
|
30
26
|
export function convertWithInlineImages(html: string, options: any, image_config?: WasmInlineImageConfig | null): WasmHtmlExtraction;
|
|
27
|
+
/**
|
|
28
|
+
* Initialize panic hook for better error messages in the browser
|
|
29
|
+
*/
|
|
30
|
+
export function init(): void;
|
|
31
31
|
/**
|
|
32
32
|
* Convert HTML to Markdown
|
|
33
33
|
*
|
|
@@ -221,12 +221,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
221
221
|
}
|
|
222
222
|
return result;
|
|
223
223
|
}
|
|
224
|
-
/**
|
|
225
|
-
* Initialize panic hook for better error messages in the browser
|
|
226
|
-
*/
|
|
227
|
-
exports.init = function() {
|
|
228
|
-
wasm.init();
|
|
229
|
-
};
|
|
230
224
|
|
|
231
225
|
function _assertClass(instance, klass) {
|
|
232
226
|
if (!(instance instanceof klass)) {
|
|
@@ -283,6 +277,13 @@ exports.convertWithInlineImages = function(html, options, image_config) {
|
|
|
283
277
|
}
|
|
284
278
|
};
|
|
285
279
|
|
|
280
|
+
/**
|
|
281
|
+
* Initialize panic hook for better error messages in the browser
|
|
282
|
+
*/
|
|
283
|
+
exports.init = function() {
|
|
284
|
+
wasm.init();
|
|
285
|
+
};
|
|
286
|
+
|
|
286
287
|
/**
|
|
287
288
|
* Convert HTML to Markdown
|
|
288
289
|
*
|
|
Binary file
|
package/dist-node/package.json
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Initialize panic hook for better error messages in the browser
|
|
5
|
-
*/
|
|
6
|
-
export function init(): void;
|
|
7
3
|
/**
|
|
8
4
|
* Convert HTML to Markdown while collecting inline images
|
|
9
5
|
*
|
|
@@ -28,6 +24,10 @@ export function init(): void;
|
|
|
28
24
|
* ```
|
|
29
25
|
*/
|
|
30
26
|
export function convertWithInlineImages(html: string, options: any, image_config?: WasmInlineImageConfig | null): WasmHtmlExtraction;
|
|
27
|
+
/**
|
|
28
|
+
* Initialize panic hook for better error messages in the browser
|
|
29
|
+
*/
|
|
30
|
+
export function init(): void;
|
|
31
31
|
/**
|
|
32
32
|
* Convert HTML to Markdown
|
|
33
33
|
*
|
|
@@ -227,12 +227,6 @@ function getArrayJsValueFromWasm0(ptr, len) {
|
|
|
227
227
|
}
|
|
228
228
|
return result;
|
|
229
229
|
}
|
|
230
|
-
/**
|
|
231
|
-
* Initialize panic hook for better error messages in the browser
|
|
232
|
-
*/
|
|
233
|
-
export function init() {
|
|
234
|
-
wasm.init();
|
|
235
|
-
}
|
|
236
230
|
|
|
237
231
|
function _assertClass(instance, klass) {
|
|
238
232
|
if (!(instance instanceof klass)) {
|
|
@@ -289,6 +283,13 @@ export function convertWithInlineImages(html, options, image_config) {
|
|
|
289
283
|
}
|
|
290
284
|
}
|
|
291
285
|
|
|
286
|
+
/**
|
|
287
|
+
* Initialize panic hook for better error messages in the browser
|
|
288
|
+
*/
|
|
289
|
+
export function init() {
|
|
290
|
+
wasm.init();
|
|
291
|
+
}
|
|
292
|
+
|
|
292
293
|
/**
|
|
293
294
|
* Convert HTML to Markdown
|
|
294
295
|
*
|
|
Binary file
|
package/dist-web/package.json
CHANGED
package/package.json
CHANGED