Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions runtime/fundamentals/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -623,6 +623,12 @@ As of Deno 2.0, npm packages using Node-API addons **are only supported when a
In case of misconfiguration Deno will provide hints how the situation can be
resolved.

Like with all native FFI, you must also pass the `--allow-ffi` flag to grant
Node-API addons explicit permission to run outside of the runtime sandbox.
Review the
[Security and permissions](/runtime/fundamentals/security/#ffi-(foreign-function-interface))
documentation for more information.

## Migrating from Node to Deno

Running your Node.js project with Deno is a straightforward process. In most
Expand Down
Loading