native addon

A Node.js package that includes compiled C or C++ code, such as some image or database libraries.

In more detail

They only run where Node.js APIs are available and must match the CPU architecture and C library of the machine. That matters when building Docker images on Alpine, which uses musl instead of glibc.

Related terms

Taught in

References