#dom #css #inject #script #web-apps

workflow-dom

DOM injection utilities for run-time injection of JavaScript and CSS

33 releases (12 breaking)

new 0.15.0 Jul 26, 2024
0.13.3 Jun 20, 2024
0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.1.0 Sep 21, 2022

#714 in WebAssembly

Download history 163/week @ 2024-04-04 110/week @ 2024-04-11 458/week @ 2024-04-18 762/week @ 2024-04-25 300/week @ 2024-05-02 179/week @ 2024-05-09 176/week @ 2024-05-16 162/week @ 2024-05-23 217/week @ 2024-05-30 155/week @ 2024-06-06 875/week @ 2024-06-13 507/week @ 2024-06-20 581/week @ 2024-06-27 469/week @ 2024-07-04 315/week @ 2024-07-11 409/week @ 2024-07-18

1,839 downloads per month
Used in 14 crates (8 directly)

MIT/Apache

240KB
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–30MB
~420K SLoC