#wasm #dom #inject #script #css

workflow-dom

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

6 releases

0.3.12 Mar 11, 2023
0.3.10 Feb 7, 2023
0.3.2 Jan 31, 2023
0.1.0 Sep 21, 2022

#408 in WebAssembly

Download history 10/week @ 2022-12-08 3/week @ 2022-12-15 5/week @ 2022-12-22 5/week @ 2022-12-29 4/week @ 2023-01-05 2/week @ 2023-01-12 7/week @ 2023-01-19 54/week @ 2023-01-26 121/week @ 2023-02-02 33/week @ 2023-02-09 34/week @ 2023-02-16 17/week @ 2023-02-23 18/week @ 2023-03-02 37/week @ 2023-03-09 61/week @ 2023-03-16 96/week @ 2023-03-23

227 downloads per month
Used in 3 crates

MIT/Apache

140KB
2.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

~10–19MB
~358K SLoC