#css #dom #script #inject

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

#1221 in WebAssembly

Download history 370/week @ 2025-07-26 190/week @ 2025-08-02 321/week @ 2025-08-09 379/week @ 2025-08-16 347/week @ 2025-08-23 495/week @ 2025-08-30 596/week @ 2025-09-06 562/week @ 2025-09-13 435/week @ 2025-09-20 574/week @ 2025-09-27 413/week @ 2025-10-04 352/week @ 2025-10-11 372/week @ 2025-10-18 337/week @ 2025-10-25 448/week @ 2025-11-01 576/week @ 2025-11-08

1,760 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

~13–31MB
~478K SLoC