# electron/rebuild

Package to rebuild native Node.js modules against the currently installed Electron version

Repository: https://github.com/electron/rebuild
Canonical: https://ross.abutalabs.com/products/rebuild
Language: TypeScript
License: MIT
License Family: permissive
Last push: 2026-08-05T23:12:14+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 92, longevity 100
- inputs: {"age_days": 4139, "days_push": 28, "days_rel": 57, "gap_med": 19, "n_releases_24m": 14}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1123, forks 181 (observed 2026-08-28T04:03:40.466138+00:00)

## What it is
@electron/rebuild is a CLI tool and npm package that rebuilds native Node.js modules against the Node.js version used by a project's installed Electron version. It lets developers use native addons in Electron apps without their system Node.js matching Electron's ABI.

## Use cases
- rebuild native node modules for electron
- fix native module ABI mismatch in electron app
- compile node-gyp addons against electron headers
- rebuild node_modules after installing a native npm package
- cross-compile native modules for a different architecture
- automate electron native module rebuilding in CI

## When to choose
- you use native Node.js addons (e.g. sqlite, serialport) in an Electron app
- your system Node.js version differs from Electron's bundled Node.js
- you need to target a specific Electron version or architecture

## When to avoid
- your project uses only pure-JavaScript npm packages
- you are building a plain Node.js app without Electron
- you cannot install native build toolchains like node-gyp and Visual C++ build tools

## Facets
- artifact type: cli-tool
- maturity: active
- function: build-tool, cli, developer-tools
- domain: developer-tools, cross-platform, desktop-applications
- platform: cli, cross-platform, windows
- tags: electron, native-modules, node-gyp, npm-package, nodejs, macos, linux

## Member repositories
- electron/rebuild (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:40.466138+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:40:45.268208+00:00, confidence not recorded.
  - readme: https://github.com/electron/rebuild (fetched 2026-08-28T04:03:40.466138+00:00, sha 65025540f390)
- Data as of 2026-08-30T08:39:29.467469+00:00.
