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

workflow-dom

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

26 releases (9 breaking)

0.12.1 Apr 27, 2024
0.11.1 Apr 19, 2024
0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.1.0 Sep 21, 2022

#350 in WebAssembly

Download history 475/week @ 2024-01-22 80/week @ 2024-01-29 88/week @ 2024-02-05 163/week @ 2024-02-12 215/week @ 2024-02-19 235/week @ 2024-02-26 75/week @ 2024-03-04 157/week @ 2024-03-11 79/week @ 2024-03-18 172/week @ 2024-03-25 184/week @ 2024-04-01 144/week @ 2024-04-08 380/week @ 2024-04-15 780/week @ 2024-04-22 276/week @ 2024-04-29 249/week @ 2024-05-06

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

MIT/Apache

225KB
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

~17–34MB
~505K SLoC