#dom #css #inject #script #web-apps #web-framework

workflow-dom

DOM injection utilities for run-time injection of JavaScript and CSS

35 releases (14 breaking)

0.18.0 Sep 7, 2024
0.15.0 Jul 26, 2024
0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.1.0 Sep 21, 2022

#194 in WebAssembly

Download history 431/week @ 2024-10-01 355/week @ 2024-10-08 579/week @ 2024-10-15 579/week @ 2024-10-22 434/week @ 2024-10-29 285/week @ 2024-11-05 677/week @ 2024-11-12 515/week @ 2024-11-19 370/week @ 2024-11-26 392/week @ 2024-12-03 384/week @ 2024-12-10 231/week @ 2024-12-17 157/week @ 2024-12-24 276/week @ 2024-12-31 344/week @ 2025-01-07 205/week @ 2025-01-14

1,014 downloads per month
Used in 15 crates (9 directly)

MIT/Apache

245KB
5K SLoC

workflow-dom

Part of the workflow-rs application framework.


Browser DOM manipulation utilities

github crates.io docs.rs license

Features

  • Dynamic (runtime) injection of JsvaScript modules and CSS data into Browser DOM
  • Optionally supplied callback gets invoked upon the successful load.

Combined with include_bytes!() macro this crate can be used to dynamically inject JavaScript and CSS files into the browser environment at runtime.

Dependencies

~12–28MB
~429K SLoC