#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

#766 in WebAssembly

Download history 632/week @ 2024-08-16 649/week @ 2024-08-23 698/week @ 2024-08-30 1477/week @ 2024-09-06 558/week @ 2024-09-13 457/week @ 2024-09-20 423/week @ 2024-09-27 404/week @ 2024-10-04 434/week @ 2024-10-11 616/week @ 2024-10-18 493/week @ 2024-10-25 357/week @ 2024-11-01 328/week @ 2024-11-08 838/week @ 2024-11-15 302/week @ 2024-11-22 392/week @ 2024-11-29

1,898 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–27MB
~426K SLoC