html-to-markdown-wasm 2.16.0 → 2.18.0
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 +8 -8
- package/dist/README.md +87 -530
- package/dist/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist/package.json +3 -3
- package/dist-node/README.md +87 -530
- package/dist-node/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist-node/package.json +3 -3
- package/dist-web/README.md +87 -530
- package/dist-web/html_to_markdown_wasm_bg.wasm +0 -0
- package/dist-web/package.json +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -17,8 +17,8 @@ Runs anywhere: Node.js, Deno, Bun, browsers, and edge runtimes.
|
|
|
17
17
|
[](https://rubygems.org/gems/html-to-markdown)
|
|
18
18
|
[](https://www.nuget.org/packages/Goldziher.HtmlToMarkdown/)
|
|
19
19
|
[](https://central.sonatype.com/artifact/io.github.goldziher/html-to-markdown)
|
|
20
|
-
[](https://github.com/
|
|
20
|
+
[](https://pkg.go.dev/github.com/kreuzberg-dev/html-to-markdown/packages/go/v2/htmltomarkdown)
|
|
21
|
+
[](https://github.com/kreuzberg-dev/html-to-markdown/blob/main/LICENSE)
|
|
22
22
|
|
|
23
23
|
## Performance
|
|
24
24
|
|
|
@@ -98,9 +98,9 @@ console.log(markdown);
|
|
|
98
98
|
> **Heads up for edge runtimes:** Cloudflare Workers, Vite dev servers, and other environments that instantiate `.wasm` files asynchronously must call `await initWasm()` (or `await wasmReady`) once during startup before invoking `convert`. Traditional bundlers (Webpack, Rollup) and Deno/Node imports continue to work without manual initialization.
|
|
99
99
|
|
|
100
100
|
**Working Examples:**
|
|
101
|
-
- [**Browser with Rollup**](https://github.com/
|
|
102
|
-
- [**Node.js**](https://github.com/
|
|
103
|
-
- [**Cloudflare Workers**](https://github.com/
|
|
101
|
+
- [**Browser with Rollup**](https://github.com/kreuzberg-dev/html-to-markdown/tree/main/examples/wasm-rollup) - Using dist-web target in browser
|
|
102
|
+
- [**Node.js**](https://github.com/kreuzberg-dev/html-to-markdown/tree/main/examples/wasm-node) - Using dist-node target
|
|
103
|
+
- [**Cloudflare Workers**](https://github.com/kreuzberg-dev/html-to-markdown/tree/main/examples/wasm-cloudflare) - Using bundler target with Wrangler
|
|
104
104
|
|
|
105
105
|
### Reusing Options Handles
|
|
106
106
|
|
|
@@ -241,7 +241,7 @@ export default {
|
|
|
241
241
|
};
|
|
242
242
|
```
|
|
243
243
|
|
|
244
|
-
> See the full [Cloudflare Workers example](https://github.com/
|
|
244
|
+
> See the full [Cloudflare Workers example](https://github.com/kreuzberg-dev/html-to-markdown/tree/main/examples/wasm-cloudflare) with Wrangler configuration.
|
|
245
245
|
|
|
246
246
|
## TypeScript
|
|
247
247
|
|
|
@@ -557,8 +557,8 @@ The same Rust engine ships as native bindings for other ecosystems:
|
|
|
557
557
|
|
|
558
558
|
## Links
|
|
559
559
|
|
|
560
|
-
- [GitHub Repository](https://github.com/
|
|
561
|
-
- [Full Documentation](https://github.com/
|
|
560
|
+
- [GitHub Repository](https://github.com/kreuzberg-dev/html-to-markdown)
|
|
561
|
+
- [Full Documentation](https://github.com/kreuzberg-dev/html-to-markdown/blob/main/README.md)
|
|
562
562
|
- [Native Node Package](https://www.npmjs.com/package/html-to-markdown-node)
|
|
563
563
|
- [Python Package](https://pypi.org/project/html-to-markdown/)
|
|
564
564
|
- [PHP Extension & Helpers](https://packagist.org/packages/goldziher/html-to-markdown)
|