733 stable releases

2.37.114 Jan 17, 2026
2.37.112 Dec 16, 2025
2.37.109 Jul 8, 2025
2.36.7 Mar 31, 2025
0.0.3 Sep 21, 2024

#2011 in Command line utilities

Download history 148/week @ 2025-10-13 57/week @ 2025-10-20 98/week @ 2025-10-27 165/week @ 2025-11-03 133/week @ 2025-11-10 226/week @ 2025-11-17 306/week @ 2025-11-24 488/week @ 2025-12-01 289/week @ 2025-12-08 422/week @ 2025-12-15 235/week @ 2025-12-22 103/week @ 2025-12-29 150/week @ 2026-01-05 74/week @ 2026-01-12 44/week @ 2026-01-19 43/week @ 2026-01-26

326 downloads per month
Used in search_for_llms

MIT license

220KB
5K SLoC

spider_transformations

A high-performance transformation library for Rust, used by Spider Cloud for AI-powered content cleaning across multiple locales.

This project depends on the spider crate.

Usage

[dependencies]
spider_transformations = "2"
use spider_transformations::transformation::content;

fn main() {
    // page comes from the spider object when streaming.
    let mut conf = content::TransformConfig::default();
    conf.return_format = content::ReturnFormat::Markdown;
    let content = content::transform_content(&page, &conf, &None, &None);
}

Transform types

  1. Markdown
  2. Commonmark
  3. Text
  4. Markdown (Text Map) or HTML2Text
  5. WIP: HTML2XML

Enhancements

  1. Readability
  2. Encoding

Chunking

There are several chunking utils in the transformation mod.

This project has rewrites and forks of html2md, and html2text for performance and bug fixes.

License

MIT

Dependencies

~30–58MB
~897K SLoC