#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

#242 in WebAssembly

Download history 589/week @ 2024-07-29 283/week @ 2024-08-05 315/week @ 2024-08-12 684/week @ 2024-08-19 672/week @ 2024-08-26 1276/week @ 2024-09-02 960/week @ 2024-09-09 449/week @ 2024-09-16 451/week @ 2024-09-23 431/week @ 2024-09-30 369/week @ 2024-10-07 583/week @ 2024-10-14 587/week @ 2024-10-21 426/week @ 2024-10-28 236/week @ 2024-11-04 655/week @ 2024-11-11

2,011 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