node/lib/internal
René d4cf423a65
stream: export namespace object from internal end-of-stream module
PR-URL: https://github.com/nodejs/node/pull/61455
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Mattias Buelens <mattias@buelens.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
2026-01-25 00:07:50 +01:00
..
assert assert: use a set instead of an array for faster lookup 2026-01-13 10:04:52 -03:00
async_local_storage
bootstrap quic: move quic behind compile time flag 2026-01-22 14:46:33 +01:00
child_process child_process: treat ipc length header as unsigned uint32 2026-01-20 15:20:59 +01:00
cluster cluster: fix port reuse between cluster 2026-01-20 14:35:57 +01:00
console console: optimize single-string logging 2025-11-05 23:07:51 +01:00
crypto lib,test: enforce use of assert.fail via a lint rule 2026-01-13 10:04:47 -03:00
debugger lib: use FastBuffer for empty buffer allocation 2026-01-13 10:04:02 -03:00
dns lib: prefer call() over apply() if argument list is not array 2026-01-13 10:04:20 -03:00
encoding lib: implement all 1-byte encodings in js 2026-01-13 10:04:56 -03:00
errors lib: add source map support for assert messages 2025-09-11 10:37:46 +00:00
events
fs fs: add ignore option to fs.watch 2026-01-25 00:07:50 +01:00
http2 buffer: make methods work on Uint8Array instances 2026-01-22 14:46:32 +01:00
inspector inspector: inspect HTTP response body 2025-11-10 13:38:33 +01:00
legacy
main src: build v8 tick processor as built-in source text modules 2026-01-13 10:04:00 -03:00
modules src: cache missing package.json files in the C++ package config cache 2026-01-22 14:46:24 +01:00
per_context perf_hooks: fix stack overflow error 2025-10-13 10:05:45 +02:00
perf perf_hooks: fix stack overflow error 2025-10-13 10:05:45 +02:00
process async_hooks: enabledHooksExist shall return if hooks are enabled 2026-01-20 14:34:30 +01:00
quic lib,test: fix jsdoc comments 2026-01-13 10:04:35 -03:00
readline repl: fix pasting after moving the cursor to the left 2025-11-05 23:09:48 +01:00
repl repl: fix getters triggering side effects during completion 2026-01-13 10:04:50 -03:00
source_map lib: add source map support for assert messages 2025-09-11 10:37:46 +00:00
streams stream: export namespace object from internal end-of-stream module 2026-01-25 00:07:50 +01:00
test
test_runner test_runner: fix memory leaks in runner 2026-01-20 14:36:02 +01:00
tls lib: prefer call() over apply() if argument list is not array 2026-01-13 10:04:20 -03:00
util assert,util: fix deep comparison for sets and maps with mixed types 2026-01-20 14:36:01 +01:00
v8 src: fix timing of snapshot serialize callback 2025-10-28 01:20:14 +01:00
vm lib: prefer call() over apply() if argument list is not array 2026-01-13 10:04:20 -03:00
watch_mode
webstreams stream: export namespace object from internal end-of-stream module 2026-01-25 00:07:50 +01:00
worker lib: replace global SharedArrayBuffer constructor with bound method 2025-11-05 23:07:52 +01:00
abort_controller.js
assert.js
async_context_frame.js
async_hooks.js async_hooks: enabledHooksExist shall return if hooks are enabled 2026-01-20 14:34:30 +01:00
blob.js lib: fix typo in createBlobReaderStream 2025-10-27 15:20:08 +01:00
blocklist.js
buffer.js buffer: make methods work on Uint8Array instances 2026-01-22 14:46:32 +01:00
child_process.js lib: prefer call() over apply() if argument list is not array 2026-01-13 10:04:20 -03:00
cli_table.js
constants.js
data_url.js
dgram.js
encoding.js lib: implement all 1-byte encodings in js 2026-01-13 10:04:56 -03:00
error_serdes.js
errors.js lib: fix TypeScript support check in jitless mode 2026-01-20 14:36:02 +01:00
event_target.js events: remove redundant todo 2026-01-20 15:21:04 +01:00
file.js lib: prefer call() over apply() if argument list is not array 2026-01-13 10:04:20 -03:00
fixed_queue.js
freelist.js
freeze_intrinsics.js
heap_utils.js
histogram.js
http.js http: add http.setGlobalProxyFromEnv() 2026-01-13 10:04:44 -03:00
inspector_async_hook.js
inspector_network_tracking.js inspector: add http2 tracking support 2025-08-27 16:25:13 +00:00
js_stream_socket.js
linkedlist.js
locks.js
mime.js util: optimize toASCIILower function using V8s native toLowerCase 2026-01-13 10:04:54 -03:00
navigator.js
net.js lib: simplify IPv6 checks in isLoopback() 2025-08-12 11:00:11 +02:00
options.js src: add internal GetOptionsAsFlags 2025-08-16 06:43:49 +00:00
priority_queue.js lib: optimize priority queue 2025-10-04 22:08:00 +02:00
promise_hooks.js
querystring.js
README.md
repl.js
socket_list.js
socketaddress.js lib: enforce use of URLParse 2026-01-13 10:04:48 -03:00
stream_base_commons.js
timers.js lib: remove redundant destroyHook checks 2025-10-08 12:11:43 +00:00
trace_events_async_hooks.js
tty.js
url.js url: add fast path to getPathFromURL decoder 2026-01-13 10:04:56 -03:00
util.js lib: fix TypeScript support check in jitless mode 2026-01-20 14:36:02 +01:00
v8_prof_polyfill.js src: build v8 tick processor as built-in source text modules 2026-01-13 10:04:00 -03:00
validators.js fs: add ignore option to fs.watch 2026-01-25 00:07:50 +01:00
vm.js lib: prefer call() over apply() if argument list is not array 2026-01-13 10:04:20 -03:00
wasm_web_api.js
watchdog.js
webidl.js
webstorage.js Revert "lib: throw from localStorage getter on missing storage path" 2025-11-16 20:45:44 +01:00
worker.js lib: replace global SharedArrayBuffer constructor with bound method 2025-11-05 23:07:52 +01:00

Internal Modules

The modules located in lib/internal directory are exclusively meant for internal usage within the Node.js core. They are not intended to be accessed via user modules require(). These modules may change at any point in time. Relying on these internal modules outside the core is not supported and can lead to unpredictable behavior.

In certain scenarios, accessing these internal modules for debugging or experimental purposes might be necessary. Node.js provides the --expose-internals flag to expose these modules to userland code. This flag only exists to assist Node.js maintainers with debugging internals. It is not meant for use outside the project.