You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
node:readline and node:readline/promises are not implemented (no match in preludes/node_builtins.rs at a0c723e). The remaining unimplemented core modules are http2, cluster, inspector, v8, wasi, diagnostics_channel.
Why it matters
readline is the standard way to (a) read stdin line-by-line in CLIs and (b) stream large files with for await (const line of rl). Interactive prompts (inquirer, prompts, enquirer), REPL-style tools, and log processors all depend on it. With process.stdin and node:stream now present in 0.10.5, this is a small, high-leverage addition.
Proposal
Priority order:
readline — createInterface({ input, output, terminal }), question(), on('line'|'close'), async iterator, readline/promises. Pure-JS on top of existing node:stream + node:tty.
cluster — can be a thin facade over worker_threads / child_process.fork once async fork exists; isPrimary, fork(), workers, on('exit').
http2 — larger; at minimum http2.connect client for gRPC-style consumers, server later.
diagnostics_channel — trivial pub/sub, used by undici, fastify, OpenTelemetry instrumentation.
inspector, v8, wasi — document as intentionally unsupported in a compatibility matrix rather than leaving them to Cannot find module.
ode:readline (createInterface, async iterator) and
ode:readline/promises are now implemented in the lazy registry.
Added lightweight compatibility shims for
ode:v8,
ode:inspector,
ode:cluster,
ode:http2 (including constants.HTTP_STATUS_*), and
ode:wasi so packages probing for them import cleanly without affecting tenant isolation or cold-start time.
Activity
siktec-lab commentedon Nov 9, 2026
Addressed in #41 (�0.10.6).
ode:readline (createInterface, async iterator) and
ode:readline/promises are now implemented in the lazy registry.
ode:v8,
ode:inspector,
ode:cluster,
ode:http2 (including constants.HTTP_STATUS_*), and
ode:wasi so packages probing for them import cleanly without affecting tenant isolation or cold-start time.