Skip to content

lib: expose primordials object

Provide a way to expose the primordials on the global object. This is useful to run Node.js internals modules to help with Node.js core development.

$ node --expose-internals -r internal/test/binding lib/fs.js
(node:5299) internal/test/binding: These APIs are for internal testing only. Do not use them.
(Use `node --trace-warnings ...` to show where the warning was created)

Merge request reports

Loading