wasm-rquickjs 0.3.4

Tool for wrapping JavaScript modules as WebAssembly components using the QuickJS engine
Documentation
1
2
3
4
5
6
7
8
9
10
11
// JS functions for the node:timers implementation
pub const TIMERS_JS: &str = include_str!("timers.js");

// JS functions for the node:timers/promises implementation
pub const TIMERS_PROMISES_JS: &str = include_str!("timers_promises.js");

// Re-exports for aliases
pub const REEXPORT_JS: &str =
    r#"export * from 'node:timers'; export { default } from 'node:timers';"#;
pub const REEXPORT_PROMISES_JS: &str =
    r#"export * from 'node:timers/promises'; export { default } from 'node:timers/promises';"#;