native binding

Code written in C or C++ that JavaScript can call, used by Node.js to reach system libraries such as OpenSSL and zlib.

In more detail

Most built-in modules, such as node:crypto and node:zlib, are thin JavaScript layers over native bindings. Your own projects can load native addons too, but they must be compiled for each platform.

Related terms

Taught in

References