{"adoption": {"forks": 155, "observed_at": "2026-08-28T04:03:34.597869+00:00", "stars": 1097}, "canonical_url": "https://ross.abutalabs.com/products/node-ffi-napi", "card": {"archived": false, "artifact_type": "library", "description": "A foreign function interface (FFI) for Node.js, N-API style", "domain": ["developer-tools", "cross-platform"], "enriched": true, "function": ["sdk", "developer-tools"], "health_score": 20, "homepage": null, "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "maintenance", "member_repos": ["node-ffi-napi/node-ffi-napi"], "name": "node-ffi-napi/node-ffi-napi", "platform": ["windows", "cross-platform"], "pushed_at": "2024-08-16T13:44:45+00:00", "repo": "node-ffi-napi/node-ffi-napi", "stars": 1097, "tags": ["ffi", "napi", "native-bindings", "dynamic-libraries", "libffi", "nodejs-addon", "nodejs", "linux", "macos"], "topics": [], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/node-ffi-napi", "repo": "node-ffi-napi/node-ffi-napi", "role": "main", "score": 23}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:03:34.597869+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T06:46:36.398744+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "0248e7dadcd4b63ddb771f8f9f87b07eef34fb0ff4134ddad9e21b71df249dff", "fetched_at": "2026-08-28T04:03:34.597869+00:00", "kind": "readme", "missing": false, "url": "https://github.com/node-ffi-napi/node-ffi-napi"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 0, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3201, "days_push": 747, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 23, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}