#css #inject #dom #script

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

#963 in WebAssembly

Download history 257/week @ 2024-12-13 207/week @ 2024-12-20 161/week @ 2024-12-27 349/week @ 2025-01-03 304/week @ 2025-01-10 346/week @ 2025-01-17 501/week @ 2025-01-24 479/week @ 2025-01-31 456/week @ 2025-02-07 460/week @ 2025-02-14 652/week @ 2025-02-21 503/week @ 2025-02-28 397/week @ 2025-03-07 529/week @ 2025-03-14 360/week @ 2025-03-21 480/week @ 2025-03-28

1,867 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–30MB
~480K SLoC