Ross ROSS = Recommend OSS · open-source software intelligence for agents

node-ffi-napi/node-ffi-napi

A foreign function interface (FFI) for Node.js, N-API style observed · 2026-08-28

github.com/node-ffi-napi/node-ffi-napi · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 3201
  • days_rel: n/a
  • days_push: 747
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1097 stars · 155 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

node-ffi-napi is a Node.js addon providing a foreign function interface (FFI) for loading and calling dynamic native libraries from pure JavaScript, without writing C++ binding code. It handles type translation between JavaScript and C and bundles libffi.

Use cases

  • call functions from a C shared library in Node.js
  • create Node.js bindings to a native library without writing C++
  • invoke libc functions like atoi from JavaScript
  • wrap an existing .so/.dll/.dylib for Node.js use
  • prototype native code interop from pure JavaScript

When to choose

  • you need to call a native dynamic library from Node.js quickly without writing a C++ addon
  • you want to avoid node-gyp boilerplate for simple native function calls
  • you need cross-platform FFI on Linux, macOS, or Windows

When to avoid

  • your native code is multi-threaded or relies on well-defined garbage-collection semantics
  • you need long-term maintained support - the project is in maintenance mode and newer alternatives like koffi or node-API addons exist
  • you cannot tolerate potential segfaults from incorrect type or pointer usage

Facets

library · maturity maintenance

sdk developer-tools developer-tools cross-platform windows cross-platform ffi napi native-bindings dynamic-libraries libffi nodejs-addon nodejs linux macos

1 source

Member repositories

RepositoryRoleHealth v2
node-ffi-napi/node-ffi-napimain23

For agents

markdown · JSON · MCP: product_card(name="node-ffi-napi/node-ffi-napi")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem