#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

#160 in WebAssembly

Download history 1127/week @ 2024-09-08 451/week @ 2024-09-15 440/week @ 2024-09-22 454/week @ 2024-09-29 375/week @ 2024-10-06 514/week @ 2024-10-13 632/week @ 2024-10-20 416/week @ 2024-10-27 281/week @ 2024-11-03 407/week @ 2024-11-10 809/week @ 2024-11-17 321/week @ 2024-11-24 371/week @ 2024-12-01 471/week @ 2024-12-08 255/week @ 2024-12-15 170/week @ 2024-12-22

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