Skip to main content

UNIMPLEMENTED_MODULES

Constant UNIMPLEMENTED_MODULES 

Source
pub const UNIMPLEMENTED_MODULES: &[&str];
Expand description

Native-heavy core modules that node-js does not yet implement (TLS handshakes, HTTP/2 framing, OS worker threads sharing the thread-local heap, UDP sockets, V8 inspector, etc.). requireing them succeeds and yields a namespace so that programs which import-then-conditionally-use them still load; ACTUALLY calling a method throws Error: <mod>.<method> is not implemented in node-js. This is an honest not-yet-built surface, never a silent fake.