{"adoption": {"forks": 498, "observed_at": "2026-08-28T04:06:44.250304+00:00", "stars": 2408}, "canonical_url": "https://ross.abutalabs.com/products/node-addon-api", "card": {"archived": false, "artifact_type": "library", "description": "Module for using Node-API from C++", "domain": ["developer-tools", "backend", "cross-platform"], "enriched": true, "function": ["sdk", "developer-tools", "plugin-system"], "health_score": 99, "homepage": null, "language": "C++", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["nodejs/node-addon-api"], "name": "nodejs/node-addon-api", "platform": ["cpp", "cross-platform"], "pushed_at": "2026-08-21T18:43:35+00:00", "repo": "nodejs/node-addon-api", "stars": 2408, "tags": ["node-api", "native-addons", "header-only", "c++-bindings", "napi", "nodejs"], "topics": ["nodejs", "node"], "urls": [], "use_cases": ["write node.js native addons in c++", "wrap a c++ library for use in node", "build abi-stable native modules for node.js", "use c++ exception handling in node addons", "avoid rewriting addons for every node.js version"], "what_it_is": "A header-only C++ wrapper library for Node-API (N-API) that simplifies writing native Node.js addons in C++. It provides C++ object model and exception-handling semantics with low overhead over the C-based Node-API.", "when_to_avoid": ["your addon is pure JavaScript and needs no native code", "you target Node.js versions older than the supported LTS range", "you need a C API directly rather than a C++ wrapper"], "when_to_choose": ["you need C++ performance or access to native libraries from Node.js", "you want ABI stability across Node.js versions via Node-API", "you prefer C++ object model and exceptions over raw C Node-API"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/node-addon-api", "repo": "nodejs/node-addon-api", "role": "main", "score": 94}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "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:06:44.250304+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:06:44.250304+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T02:34:03.917763+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "c4ecc55d396757ba56c24b84ea51941ab00a6406fac3e363933c0a6721f68b00", "fetched_at": "2026-08-28T04:06:44.250304+00:00", "kind": "readme", "missing": false, "url": "https://github.com/nodejs/node-addon-api"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 98, "longevity": 100, "rhythm": 85}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3493, "days_push": 12, "days_rel": 21, "gap_med": 35.0, "n_releases_24m": 13}, "score": 94, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}