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

workflow-dom

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

23 releases (8 breaking)

0.11.0 Feb 25, 2024
0.10.2 Dec 24, 2023
0.8.1 Nov 1, 2023
0.3.17 May 28, 2023
0.1.0 Sep 21, 2022

#539 in WebAssembly

Download history 112/week @ 2023-12-04 237/week @ 2023-12-11 312/week @ 2023-12-18 469/week @ 2023-12-25 362/week @ 2024-01-01 202/week @ 2024-01-08 287/week @ 2024-01-15 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

662 downloads per month
Used in 14 crates (8 directly)

MIT/Apache

210KB
4.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

~18–33MB
~515K SLoC