{"repo":"spider-rs/html2md","free":true,"listed":false,"github":"https://github.com/spider-rs/html2md","clone":"git clone https://github.com/spider-rs/html2md.git","description":"HTML to markdown for Rust","language":"HTML","stars":79,"topics":["html2md","markdown","rust","html"],"license":"MIT","category":"scrapers-browser-automation","readme_excerpt":"fast html2md The fastest Rust library for transforming HTML into Markdown. Designed for performance and ease-of-use in Rust projects. Installation Add fast html2md to your Cargo.toml : Usage Below are examples to get started quickly. The library provides several methods depending on your needs. Using the Rewriter (Default) With the default rewriter feature, recommended for high performance: With Async Streaming For handling large or concurrent workloads, use async streaming with the stream and rewriter feature. Ensure you have a tokio async runtime: Using the Scraper For a different approach, enable the scraper feature: Features - rewriter: High performance transformation using the rewriter feature (default). - scraper: Alternative approach for HTML parsing with the scraper feature. - stream: enables streaming chunks for rewriter. About The features are split to help you choose the library you need. If your project heavily depends on scraper and you need to keep the binary small, you can enable just that feature flag. The same applies to the rewriter feature using lol html . This project is actively used in production at Spider. License This project is licensed under the MIT License.","default_branch":null,"files":null,"tree":[],"storefront":"/r/spider-rs","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/spider-rs/html2md/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}