@kreuzberg/html-to-markdown-wasm 3.6.7 → 3.6.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kreuzberg/html-to-markdown-wasm",
3
- "version": "3.6.7",
3
+ "version": "3.6.8",
4
4
  "private": false,
5
5
  "description": "High-performance HTML to Markdown converter",
6
6
  "license": "MIT",
@@ -978,18 +978,18 @@ export enum WasmWhitespaceMode {
978
978
  }
979
979
 
980
980
  /**
981
- * Convert HTML to Markdown, returning a `ConversionResult` with content, metadata, images,
982
- * and warnings.
981
+ * Convert HTML to Markdown, Djot, or plain text.
982
+ *
983
+ * Returns a `ConversionResult` with converted content plus optional metadata,
984
+ * document structure, table data, inline images, and warnings depending on the
985
+ * enabled features and conversion options.
983
986
  *
984
987
  * # Arguments
985
988
  *
986
989
  * * `html` — the HTML string to convert.
987
- * * `options` — conversion options. The parameter bound is
988
- * `impl Into<Option<ConversionOptions>>`, so any of the following call shapes are accepted:
989
- * - `convert(html, ConversionOptions.default())` bare options.
990
- * - `convert(html, opts)` — bare options.
991
- * - `convert(html, Some(opts))` — explicit `Option`.
992
- * - `convert(html, None)` — fall back to `ConversionOptions.default`.
990
+ * * `options` — conversion options. Rust accepts either bare
991
+ * `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
992
+ * option fields through language-native constructors or optional parameters.
993
993
  *
994
994
  * # Example
995
995
  *
@@ -5598,18 +5598,18 @@ export const WasmWhitespaceMode = Object.freeze({
5598
5598
  });
5599
5599
 
5600
5600
  /**
5601
- * Convert HTML to Markdown, returning a `ConversionResult` with content, metadata, images,
5602
- * and warnings.
5601
+ * Convert HTML to Markdown, Djot, or plain text.
5602
+ *
5603
+ * Returns a `ConversionResult` with converted content plus optional metadata,
5604
+ * document structure, table data, inline images, and warnings depending on the
5605
+ * enabled features and conversion options.
5603
5606
  *
5604
5607
  * # Arguments
5605
5608
  *
5606
5609
  * * `html` — the HTML string to convert.
5607
- * * `options` — conversion options. The parameter bound is
5608
- * `impl Into<Option<ConversionOptions>>`, so any of the following call shapes are accepted:
5609
- * - `convert(html, ConversionOptions.default())` bare options.
5610
- * - `convert(html, opts)` — bare options.
5611
- * - `convert(html, Some(opts))` — explicit `Option`.
5612
- * - `convert(html, None)` — fall back to `ConversionOptions.default`.
5610
+ * * `options` — conversion options. Rust accepts either bare
5611
+ * `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
5612
+ * option fields through language-native constructors or optional parameters.
5613
5613
  *
5614
5614
  * # Example
5615
5615
  *
@@ -2,7 +2,7 @@
2
2
  "name": "html-to-markdown-wasm",
3
3
  "type": "module",
4
4
  "description": "High-performance HTML to Markdown converter",
5
- "version": "3.6.7",
5
+ "version": "3.6.8",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",
@@ -978,18 +978,18 @@ export enum WasmWhitespaceMode {
978
978
  }
979
979
 
980
980
  /**
981
- * Convert HTML to Markdown, returning a `ConversionResult` with content, metadata, images,
982
- * and warnings.
981
+ * Convert HTML to Markdown, Djot, or plain text.
982
+ *
983
+ * Returns a `ConversionResult` with converted content plus optional metadata,
984
+ * document structure, table data, inline images, and warnings depending on the
985
+ * enabled features and conversion options.
983
986
  *
984
987
  * # Arguments
985
988
  *
986
989
  * * `html` — the HTML string to convert.
987
- * * `options` — conversion options. The parameter bound is
988
- * `impl Into<Option<ConversionOptions>>`, so any of the following call shapes are accepted:
989
- * - `convert(html, ConversionOptions.default())` bare options.
990
- * - `convert(html, opts)` — bare options.
991
- * - `convert(html, Some(opts))` — explicit `Option`.
992
- * - `convert(html, None)` — fall back to `ConversionOptions.default`.
990
+ * * `options` — conversion options. Rust accepts either bare
991
+ * `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
992
+ * option fields through language-native constructors or optional parameters.
993
993
  *
994
994
  * # Example
995
995
  *
@@ -5600,18 +5600,18 @@ export const WasmWhitespaceMode = Object.freeze({
5600
5600
  });
5601
5601
 
5602
5602
  /**
5603
- * Convert HTML to Markdown, returning a `ConversionResult` with content, metadata, images,
5604
- * and warnings.
5603
+ * Convert HTML to Markdown, Djot, or plain text.
5604
+ *
5605
+ * Returns a `ConversionResult` with converted content plus optional metadata,
5606
+ * document structure, table data, inline images, and warnings depending on the
5607
+ * enabled features and conversion options.
5605
5608
  *
5606
5609
  * # Arguments
5607
5610
  *
5608
5611
  * * `html` — the HTML string to convert.
5609
- * * `options` — conversion options. The parameter bound is
5610
- * `impl Into<Option<ConversionOptions>>`, so any of the following call shapes are accepted:
5611
- * - `convert(html, ConversionOptions.default())` bare options.
5612
- * - `convert(html, opts)` — bare options.
5613
- * - `convert(html, Some(opts))` — explicit `Option`.
5614
- * - `convert(html, None)` — fall back to `ConversionOptions.default`.
5612
+ * * `options` — conversion options. Rust accepts either bare
5613
+ * `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
5614
+ * option fields through language-native constructors or optional parameters.
5615
5615
  *
5616
5616
  * # Example
5617
5617
  *
@@ -978,18 +978,18 @@ export enum WasmWhitespaceMode {
978
978
  }
979
979
 
980
980
  /**
981
- * Convert HTML to Markdown, returning a `ConversionResult` with content, metadata, images,
982
- * and warnings.
981
+ * Convert HTML to Markdown, Djot, or plain text.
982
+ *
983
+ * Returns a `ConversionResult` with converted content plus optional metadata,
984
+ * document structure, table data, inline images, and warnings depending on the
985
+ * enabled features and conversion options.
983
986
  *
984
987
  * # Arguments
985
988
  *
986
989
  * * `html` — the HTML string to convert.
987
- * * `options` — conversion options. The parameter bound is
988
- * `impl Into<Option<ConversionOptions>>`, so any of the following call shapes are accepted:
989
- * - `convert(html, ConversionOptions.default())` bare options.
990
- * - `convert(html, opts)` — bare options.
991
- * - `convert(html, Some(opts))` — explicit `Option`.
992
- * - `convert(html, None)` — fall back to `ConversionOptions.default`.
990
+ * * `options` — conversion options. Rust accepts either bare
991
+ * `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
992
+ * option fields through language-native constructors or optional parameters.
993
993
  *
994
994
  * # Example
995
995
  *
@@ -5642,18 +5642,18 @@ const WasmWhitespaceMode = Object.freeze({
5642
5642
  exports.WasmWhitespaceMode = WasmWhitespaceMode;
5643
5643
 
5644
5644
  /**
5645
- * Convert HTML to Markdown, returning a `ConversionResult` with content, metadata, images,
5646
- * and warnings.
5645
+ * Convert HTML to Markdown, Djot, or plain text.
5646
+ *
5647
+ * Returns a `ConversionResult` with converted content plus optional metadata,
5648
+ * document structure, table data, inline images, and warnings depending on the
5649
+ * enabled features and conversion options.
5647
5650
  *
5648
5651
  * # Arguments
5649
5652
  *
5650
5653
  * * `html` — the HTML string to convert.
5651
- * * `options` — conversion options. The parameter bound is
5652
- * `impl Into<Option<ConversionOptions>>`, so any of the following call shapes are accepted:
5653
- * - `convert(html, ConversionOptions.default())` bare options.
5654
- * - `convert(html, opts)` — bare options.
5655
- * - `convert(html, Some(opts))` — explicit `Option`.
5656
- * - `convert(html, None)` — fall back to `ConversionOptions.default`.
5654
+ * * `options` — conversion options. Rust accepts either bare
5655
+ * `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
5656
+ * option fields through language-native constructors or optional parameters.
5657
5657
  *
5658
5658
  * # Example
5659
5659
  *
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "html-to-markdown-wasm",
3
3
  "description": "High-performance HTML to Markdown converter",
4
- "version": "3.6.7",
4
+ "version": "3.6.8",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -978,18 +978,18 @@ export enum WasmWhitespaceMode {
978
978
  }
979
979
 
980
980
  /**
981
- * Convert HTML to Markdown, returning a `ConversionResult` with content, metadata, images,
982
- * and warnings.
981
+ * Convert HTML to Markdown, Djot, or plain text.
982
+ *
983
+ * Returns a `ConversionResult` with converted content plus optional metadata,
984
+ * document structure, table data, inline images, and warnings depending on the
985
+ * enabled features and conversion options.
983
986
  *
984
987
  * # Arguments
985
988
  *
986
989
  * * `html` — the HTML string to convert.
987
- * * `options` — conversion options. The parameter bound is
988
- * `impl Into<Option<ConversionOptions>>`, so any of the following call shapes are accepted:
989
- * - `convert(html, ConversionOptions.default())` bare options.
990
- * - `convert(html, opts)` — bare options.
991
- * - `convert(html, Some(opts))` — explicit `Option`.
992
- * - `convert(html, None)` — fall back to `ConversionOptions.default`.
990
+ * * `options` — conversion options. Rust accepts either bare
991
+ * `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
992
+ * option fields through language-native constructors or optional parameters.
993
993
  *
994
994
  * # Example
995
995
  *
@@ -5600,18 +5600,18 @@ export const WasmWhitespaceMode = Object.freeze({
5600
5600
  });
5601
5601
 
5602
5602
  /**
5603
- * Convert HTML to Markdown, returning a `ConversionResult` with content, metadata, images,
5604
- * and warnings.
5603
+ * Convert HTML to Markdown, Djot, or plain text.
5604
+ *
5605
+ * Returns a `ConversionResult` with converted content plus optional metadata,
5606
+ * document structure, table data, inline images, and warnings depending on the
5607
+ * enabled features and conversion options.
5605
5608
  *
5606
5609
  * # Arguments
5607
5610
  *
5608
5611
  * * `html` — the HTML string to convert.
5609
- * * `options` — conversion options. The parameter bound is
5610
- * `impl Into<Option<ConversionOptions>>`, so any of the following call shapes are accepted:
5611
- * - `convert(html, ConversionOptions.default())` bare options.
5612
- * - `convert(html, opts)` — bare options.
5613
- * - `convert(html, Some(opts))` — explicit `Option`.
5614
- * - `convert(html, None)` — fall back to `ConversionOptions.default`.
5612
+ * * `options` — conversion options. Rust accepts either bare
5613
+ * `ConversionOptions`, `Some(options)`, or `None`; bindings expose the same
5614
+ * option fields through language-native constructors or optional parameters.
5615
5615
  *
5616
5616
  * # Example
5617
5617
  *
@@ -2,7 +2,7 @@
2
2
  "name": "html-to-markdown-wasm",
3
3
  "type": "module",
4
4
  "description": "High-performance HTML to Markdown converter",
5
- "version": "3.6.7",
5
+ "version": "3.6.8",
6
6
  "license": "MIT",
7
7
  "repository": {
8
8
  "type": "git",